---
name: Region3
last_updated: 2026-06-10T23:09:12Z
type: datatype
summary: "Describes a rectangular volume in 3D space."
---

# Region3

Describes a rectangular volume in 3D space.

**Type:** datatype

## Description

The [Region3](/docs/reference/engine/datatypes/Region3.md) data type describes a volume in 3D space similar to an
**axis-aligned rectangular prism**. It is commonly used with [Terrain](/docs/reference/engine/classes/Terrain.md)
functions and functions that detect parts within a volume, such as
[WorldRoot:FindPartsInRegion3()](/docs/reference/engine/classes/WorldRoot.md).

The prism's center is accessible using the [Region3.CFrame](/docs/reference/engine/datatypes/Region3.md) property
and the prism's size is accessible through the [Region3.Size](/docs/reference/engine/datatypes/Region3.md)
property. Note that the components of this property may be **negative**.

The [Region3:ExpandToGrid()](/docs/reference/engine/datatypes/Region3.md) method returns a new [Region3](/docs/reference/engine/datatypes/Region3.md)
whose bounds comply with a provided resolution value. The resulting volume may
be equal to or greater than the original volume, but never smaller.

See also:

- [Region3int16](/docs/reference/engine/datatypes/Region3int16.md)

## Constructors

### Region3.new

**Signature:** `Region3.new(min: Vector3, max: Vector3)`

Returns a new [Region3](/docs/reference/engine/datatypes/Region3.md) given the [Vector3](/docs/reference/engine/datatypes/Vector3.md) bounds of the
rectangular prism volume.

Note that the order of the provided bounds matters: by switching them, the
polarity of the size components will switch. It is possible to create a
[Region3](/docs/reference/engine/datatypes/Region3.md) with a **negative volume**.

**Parameters:**

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `min` | `Vector3` |  |  |
| `max` | `Vector3` |  |  |

## Properties

### Region3.CFrame

**Type:** `CFrame`

The center location and rotation of the [Region3](/docs/reference/engine/datatypes/Region3.md).

### Region3.Size

**Type:** `Vector3`

The 3D size of the [Region3](/docs/reference/engine/datatypes/Region3.md).

## Methods

### Region3:ExpandToGrid

**Signature:** `Region3:ExpandToGrid(resolution: number): Region3`

Expands the [Region3](/docs/reference/engine/datatypes/Region3.md) based on the provided resolution and
returns the expanded [Region3](/docs/reference/engine/datatypes/Region3.md) aligned to the [Terrain](/docs/reference/engine/classes/Terrain.md)
voxel grid.

**Parameters:**

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `resolution` | `number` |  |  |

**Returns:** `Region3`