GetPositionZ - ObjectReference

Member of: ObjectReference Script

Returns the current Z position of the reference.

SyntaxEdit

float Function GetPositionZ() native

ParametersEdit

None.

Return ValueEdit

The current Z position of the reference.

ExamplesEdit

Debug.Trace("The box has an z position of: " + box.GetPositionZ())

NotesEdit

The object reference's Z property also returns this value.

See AlsoEdit