# sm.storage.loadTerrainData

Load terrain data for this world if available.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.storage.loadTerrainData( worldId )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.storage.md#loadterraindata)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `worldId` | integer | The id of the world to load terrain data for. |

**Returns:**

| Type | Description |
| --- | --- |
| any | The data. Any lua object. |
