# colliderComponent

> The Collider or Collider2D for the GameObject struck by the particles.

## Definition

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

```csharp
public Component colliderComponent { get; }
```

### Remarks

Cast the return value and test for null, if you expect both Collider and Collider2D components to be returned.
