GetPositionX - ObjectReference

From Creation Kit
Jump to: navigation, 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