# colliderInstanceID

> Instance ID of the Collider that was hit.

## Definition

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

> **Warning:**
>
> **Removed.** RaycastHit.colliderInstanceID is obsolete. Use RaycastHit.colliderEntityId instead.

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

### Remarks

Provides a reference to the collider that was hit in a way that is accessible from jobs. For more information on creating jobs see [Create Jobs](/engine/6000.6/manual/scripting/optimization/job-system/creating-jobs.md).
