Mod:Creation Kit/GetWidth - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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

Syntax
float Function GetWidth native

Parameters
None.

Return Value
The width of this object.

Examples
Debug.Trace("The box is " + Box.GetWidth + " units wide")