# Persistent Object

## Properties

A Persistent Object contains a single property, *Persistent Object Component*, with the following properties.

| Name                    | Description                                                                                                                                                                                         |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Persist Object Position | If true, the object position is saved so that the object will spawn at the saved location next time a game is loaded. This requires at least one of *Save On Level Unload*, or *Save On Game Save*. |
| Save On Level Unload    | If true, the position will be saved when a level is unloaded.                                                                                                                                       |
| Save On Game Save       | If true, the position will be saved when the game is saved.                                                                                                                                         |

## Dependencies

* A UUID script is required, which is automatically added upon adding the Persistent Object script.


---

# 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://docs.anyrpg.org/monobehaviours/persistent-object.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.
