# Storage.save

Saves any Lua data into the storage object.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
storage:save( data )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Storage.md#save)

**Availability:** Server only

The data will remain stored after closing the world, and is retrieved using [load](../Game-Script-Environment/Userdata/Storage.md#load).

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `storage` | [Storage](../Game-Script-Environment/Userdata/Storage.md) | The storage. |
| `data` | any | The data to be stored. |
