# previousParentInstanceId

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

## Definition

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

```csharp
public int previousParentInstanceId { get; }
```
