GetPositionY - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Returns the current Y position of the reference.

Syntax[edit | edit source]

float Function GetPositionY() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The current Y position of the reference.

Examples[edit | edit source]

Debug.Trace("The box has an y position of: " + box.GetPositionY())

Notes[edit | edit source]

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

See Also[edit | edit source]