GetWidth - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: 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")

See Also