> For the complete documentation index, see [llms.txt](https://docs.anyrpg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyrpg.org/monobehaviours/persistent-object.md).

# 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.
