×
Fallout Wiki
☢  Independent Fallout Wiki Resources  Vault logo

GetPositionZ - ObjectReference

Resource:Creation Kit > GetPositionZ - ObjectReference


Member of: ObjectReference Script

Returns the current Z position of the reference.

Syntax[edit]

float Function GetPositionZ() native

Parameters[edit]

None.

Return Value[edit]

The current Z position of the reference.

Examples[edit]

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

Notes[edit]

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

See Also[edit]