sm.storage.load

Loads Lua data stored with a given key. The key can be any lua object.

Kind: Function

Environments: Game

Game

sm.storage.load( key )

Open the full Game reference

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.