# Previous Scene Persistency

1. To enable **Previous Scene Persistency**, go to the **Serialization Asset** located in the **Scriptables** folder.

<figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2F78n3GDdRWSxEFP5fGr1D%2FScreenshot_4.png?alt=media&#x26;token=defec225-d6db-49e2-b299-3f7115dca4bf" alt=""><figcaption></figcaption></figure>

2. Make sure the **Previous Scene Persistency** toggle is enabled within the Serialization Asset.

<figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2FXu2ndx77lKaQaTmEty6m%2FScreenshot_5.png?alt=media&#x26;token=649b1261-f402-4784-b7c8-bc944813c909" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can customize how the save will appear in the saves folder by modifying the settings within the **Serialization Asset**.
{% endhint %}

<figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2FLEeAYDP1NFEvsYppIwo3%2FScreenshot_7.png?alt=media&#x26;token=0b4aeac3-b8fa-4d9a-b24a-09e81db42980" alt=""><figcaption></figcaption></figure>

3. To load the next level and save the current level data for previous scene persistency, add the **Level Interact** component to the object (such as a door).

<figure><img src="https://2665493337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh8bp6Jx5qkS4c0NEaWR1%2Fuploads%2Fvw8u9aSsAeoO572oYYCJ%2FScreenshot_1.png?alt=media&#x26;token=accc14bd-a6cb-4de1-a52a-aaaafdab6333" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Change the **Level Load Type** to specify how you want to load the next level and which data you want to transfer and load.
{% endhint %}

{% hint style="info" %}
Enabling the **Custom Transform** allows you to specify a custom player position that will be saved. This is useful when you want to return to a specific location, such as the position of the door you came from.
{% endhint %}
