> For the complete documentation index, see [llms.txt](https://infinitypbr.gitbook.io/magic-pig-games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitypbr.gitbook.io/magic-pig-games/game-modules-4/module-documentation/save-and-load/saving-and-loading.md).

# Saving, and Loading

To save the game, simply call:

```
SaveAndLoad.saveAndLoad.Save()
```

If you would like to load game data manually, or load the last saved data, call:

```
Load(saveGameId); // Specify a saveGameId to load from the Game List
SaveAndLoad.saveAndLoad.LoadLastGame(); // Loads the last saved game
```

The **Save and Load** module will automatically call `Load()` when a scene is loaded. You can have the script skip specific scenes by adding their names into the `doNotLoadOnScenes` list, in the Inspector.

<figure><img src="/files/6c15VkzhLVBQETkt9BRj" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The **Party Based RPG demo game** only calls `Load()` in the tiltle scene, to load a game from the game list, and `LoadLastGame()` to continue the last played game. Otherwise, `Load()` is not called manually.
{% endhint %}
