# previousParentEntityId

> The EntityId of the GameObject that was the previous parent of the target. Note that this is not the EntityId of its Transform.

## Definition

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

```csharp
public EntityId previousParentEntityId { get; }
```
