# Shape.getBoundingBox

Returns the bounding box of a shape &ndash; the dimensions that a shape occupies when building.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
shape:getBoundingBox(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Shape.md#getboundingbox)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `shape` | [Shape](../Game-Script-Environment/Userdata/Shape.md) | The shape. |

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The size of the shape's bounding box. |
