# GetBoundsLocal

> Returns the local bounds for a cell at the location.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.GridModule

## GetBoundsLocal(Vector3Int)

Returns the local bounds for a cell at the location.

```csharp
public Bounds GetBoundsLocal(Vector3Int cellPosition)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): Location of the cell.

### Returns

| Type                                                            | Description                           |
| --------------------------------------------------------------- | ------------------------------------- |
| [Bounds](/engine/6000.7/script-reference/unityengine/bounds.md) | Local bounds of cell at the location. |

## GetBoundsLocal(Vector3, Vector3)

Returns the local bounds for the groups of cells at the location.

```csharp
public Bounds GetBoundsLocal(Vector3 origin, Vector3 size)
```

### Parameters

**** (\[Vector3]\(/engine/6000.7/script-reference/unityengine/vector3)): Origin of the group of cells.**** (\[Vector3]\(/engine/6000.7/script-reference/unityengine/vector3)): Size of the group of cells.

### Returns

| Type                                                            | Description                                         |
| --------------------------------------------------------------- | --------------------------------------------------- |
| [Bounds](/engine/6000.7/script-reference/unityengine/bounds.md) | Local bounds of the group of cells at the location. |
