# sm.terrainTile.getSize

Returns the size of a tile as the number of cells along one of the axises.

**Kind:** Function

**Environments:** Terrain

## Terrain

``` { .lua .api-signature }
sm.terrainTile.getSize( path )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `path` | string | The tile's path. |

**Returns:**

| Type | Description |
| --- | --- |
| integer | The size. |
