# World.getCellBounds

Returns the minimum and maximum cell coordinates for the given world.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
world:getCellBounds(  )
```

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| integer<br>integer<br>integer<br>integer | The minimum and maximum cell coordinates (minX, maxX, minY, maxY). |
