# instanceID

> Obsolete. Use entityId instead.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

> **Warning:**
>
> **Removed.** instanceID is deprecated, use entityId instead.

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

### Remarks

The instance ID of the Collider that was hit.
