# sm.terrainTile.getNodesForCell

Returns all nodes for a cell in a tile.

**Kind:** Function

**Environments:** Terrain

## Terrain

``` { .lua .api-signature }
sm.terrainTile.getNodesForCell( tileUid, cellOffsetX, cellOffsetY )
```

[Open the full Terrain reference](../Terrain-Script-Environment/Static-Functions/sm.terrainTile.md#getnodesforcell)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tileUid` | [Uuid](../Terrain-Script-Environment/Userdata/Uuid.md) | The tile uuid. |
| `cellOffsetX` | integer | The cell X offset. |
| `cellOffsetY` | integer | The cell Y offset. |

**Returns:**

| Type | Description |
| --- | --- |
| table | A table \{ \{ pos = [Vec3](../Terrain-Script-Environment/Userdata/Vec3.md), rot = [Quat](../Terrain-Script-Environment/Userdata/Quat.md), scale = [Vec3](../Terrain-Script-Environment/Userdata/Vec3.md), tags = \{ string, ... \}, params = table \} \} of nodes in the cell. |
