# collider

> The Collider that was hit.

## Definition

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

```csharp
public Collider collider { get; }
```

### Remarks

Can only be called from the main thread.
