ModelData:getDimensions

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

width, height, depth = ModelData: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