Set Size 2D (px)
Overview

The Set Size 2D (px) Node sets the X and Y values of a 2D Object's Size
.
Scope: Scene, Function, Prefab.
Attributes

Attribute
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.
Inputs
Input
Type
Description
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.
Outputs
Output
Type
Description
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
See Also
Last updated
Was this helpful?