Model:getDimensions

Edit

Returns the width, height, and depth of the Model, computed from its axis-aligned bounding box.

width, height, depth = Model:getDimensions()

Arguments

None

Returns

NameTypeDescription
widthnumber The width of the Model.
heightnumber The height of the Model.
depthnumber The depth of the Model.

See also