Set Size 2D (px)
Last updated
Last updated
The Set Size 2D (px) Node sets the X and Y values of a 2D Object's Size
.
Scope: Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Object
ObjectID
The target Object whose Size
you wish to set, if one is not provided in the Object ID
Socket.
Size
Vector2
The desired Size
values of the Object, if one is not provided in the Size
Socket.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Object ID
ObjectID
The ID of the target Object whose Size
you wish to set.
Size
Vector2
A 2-dimensional Vector that contains X and Y Size
values of the target Object.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.