Background for Fallout 4
Member of the ObjectReference script
floatfunctionGetWidth()Native

Description

Wiki Description

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

Documentation Comment

Get the current width of the object


Caveats


Examples

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

Auto-Generated Example

float returnedValue = myObjectReference__toCallFunctionOn.GetWidth()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.