Set Position 2D (px)
Last updated
Last updated
Set Position 2D (px) Node sets the X and Y values of a 2D Object's Position
.
Scope: Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Object
ObjectID
The target Object whose Position
you wish to set, if one is not provided in the Object ID
Socket.
Position
Vector2
The desired Position
values of the Object, if one is not provided in the Position
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 Position
you wish to set.
Position
Vector2
A 2-dimensional Vector that contains X and Y Position
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.