# sm.storage.load

Loads Lua data stored with a given key. The <em>key</em> can be any lua object.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.storage.load( key )
```

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

If no data is stored with the given key, this returns nil.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `key` | any | The key. |

**Returns:**

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