Difference between revisions of "GetPositionX - ObjectReference"
Jump to navigation
Jump to search
imported>Jlundin |
(No difference)
|
Revision as of 16:56, 21 October 2011
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.