GetPositionX - ObjectReference
Revision as of 16:56, 21 October 2011 by imported>Jlundin
Member of: ObjectReference Script
Returns the current X position of the reference.
Syntax
float Function GetPositionX() native
Parameters
None.
Return Value
The current X position of the reference.
Examples
Debug.Trace("The box has an x position of: " + box.GetPositionX())
Notes
The object reference's X property also returns this value.