GetPositionX - ObjectReference

From the CreationKit Wiki
Revision as of 16:56, 21 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

See Also