# newParentInstanceId

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

## Definition

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

> **Warning:**
>
> **Removed.** newParentInstanceId is deprecated. Use newParentEntityId instead.

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