# Terrain Data Manager

The **Terrain Data Manager** component is a utility for handling terrain interactions when using **Easy Grid Builder Pro** with terrains.

This component is located in <mark style="color:purple;">**SoulGames > Utilities > Scripts**</mark> and is included by default as part of the **Utility Managers** child GameObject in the **Grid Managers Prefab**. If your project doesn’t use terrains, you can safely remove this component.

<figure><img src="https://2651556506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeumhICLT4oHoEIEssOjB%2Fuploads%2Fv7iz8SubuGNYIvXFEajt%2Fimage.png?alt=media&#x26;token=26c9ec03-84b4-4732-8c36-93a251066820" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2651556506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeumhICLT4oHoEIEssOjB%2Fuploads%2F6sZJX1ykNlJzLwK3qLqe%2Fimage.png?alt=media&#x26;token=cdb78dbf-0170-42f4-8455-a11952dbf280" alt=""><figcaption></figcaption></figure>

<table data-full-width="false"><thead><tr><th width="216">Property</th><th width="429.3333333333333">Function</th><th>Required</th></tr></thead><tbody><tr><td>Terrain List</td><td>Terrains to be managed by the Terrain Data Manager. Only terrains listed here will be affected.</td><td>No</td></tr><tr><td>Find All Terrains In Scene</td><td>Automatically find and add all terrains in the scene to the Terrain List property.</td><td>No</td></tr></tbody></table>

***

## <mark style="color:green;">Example Use case</mark>

When Buildable Objects modify the terrain in runtime (e.g., flattening), these changes usually persist after exiting Play Mode. The **Terrain Data Manager** saves the original terrain data when entering Play Mode and restores it upon exiting, ensuring the terrain resets to its initial state.
