# Save and Load

Easily save and load your data. **Game Modules 4** introduces the new Save and Load module, which is built to save all data in a scene with a single line of code, and load it all back equally as easily. Check the **Party Based RPG demo game** to see it in action.

{% hint style="warning" %}
Be sure to add the **Save And Load** prefab into your scene along with the rest of the [repository prefabs](/magic-pig-games/game-modules-4/v4-migration-tips/repositories.md).
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=gv10dYJ6rk0>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://infinitypbr.gitbook.io/magic-pig-games/game-modules-4/module-documentation/save-and-load.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
