# sm.terrainGeneration.setAndSyncGameStorageNoSave

Sets data produced from terrain generation and synchronizes to clients. This data is only valid during the game session.

**Kind:** Function

**Environments:** Terrain

## Terrain

``` { .lua .api-signature }
sm.terrainGeneration.setAndSyncGameStorageNoSave( key, data )
```

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

**Parameters:**

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