Shape.getBoundingBox

Returns the bounding box of a shape – the dimensions that a shape occupies when building.

Kind: Function

Environments: Game

Game

shape:getBoundingBox(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Vec3 The size of the shape's bounding box.