# instanceId

> The instance ID of the GameObject that has been changed.

## Definition

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

> **Warning:**
>
> **Removed.** instanceId is deprecated. Use entityId instead.

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