# World.getZoneId

Returns the zone id from a position.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| table | The Zone id. (nil if position is invalid) |
