GetLength - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Calculates and returns the length of this reference (distance between the bounding box min and max y values).

Syntax[edit | edit source]

float Function GetLength() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The length of this object.

Examples[edit | edit source]

Debug.Trace("The box is " + Box.GetLength() + " units long")

See Also[edit | edit source]