---
title: "GetBoundingBox()"
description: "Returns a pivot-oriented bounding box that contains all descendant BaseParts in a Model."
canonical: "https://docs.glorpia.com/scripting/functions/get-bounding-box"
markdown: "https://docs.glorpia.com/scripting/functions/get-bounding-box.md"
---
# GetBoundingBox()

Returns a pivot-oriented bounding box that contains all descendant BaseParts in a Model.

**Category:** Scripting / Model method

## Syntax

```luau
model:GetBoundingBox()
```

## Return values

| Name | Type | Description |
| --- | --- | --- |
| `CFrame` | CFrame | World-space centre and orientation of the bounding box. |
| `Size` | Vector3 | Width, height and depth of the bounding box in that orientation. |

> **Note:** The bounding box uses the Model pivot orientation, so a rotated Model can return a rotated bounding-box CFrame.

## Example

```luau
local model = workspace:WaitForChild("Vehicle")
local boundsCFrame, boundsSize = model:GetBoundingBox()
print(boundsCFrame.Position)
print(boundsSize)
```

## Related

- [GetPivot()](https://docs.glorpia.com/scripting/functions/get-pivot.md) — Read the Model pivot used to orient the bounds.
- [ScaleTo()](https://docs.glorpia.com/scripting/functions/scale-to.md) — Uniformly resize the Model.
- [Model](https://docs.glorpia.com/instances/model.md) — Model properties and methods.
