Get Position 2D (px)
Last updated
Last updated
The Get Position 2D (px) Node returns 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 return, if one is not provided in the Object ID
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 return.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Position
Vector2
A 2-dimensional Vector that contains the X and Y position values of the target Object.