# sm.terrainGeneration.getTempData

Loads temporary data stored by terrain generation.

**Kind:** Function

**Environments:** Terrain

## Terrain

``` { .lua .api-signature }
sm.terrainGeneration.getTempData( key )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `key` | any | Key used to lookup the saved data. |

**Returns:**

| Type | Description |
| --- | --- |
| any | The saved data. |
