GetPositionZ - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Returns the current Z position of the reference.

Syntax

float Function GetPositionZ() native

Parameters

None.

Return Value

The current Z position of the reference.

Examples

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

Notes

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

See Also