# previousScene

> The scene containing the previous parent. This is useful to detect whether a GameObject was moved to another scene.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public Scene previousScene { get; }
```
