# GetCollider(int)

> Gets a collision shape associated with this Particle System trigger.

## Definition

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

```csharp
public Component GetCollider(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The Collider to return.

### Returns

| Type                                                                  | Description                      |
| --------------------------------------------------------------------- | -------------------------------- |
| [Component](/engine/6000.0/script-reference/unityengine/component.md) | The Collider at the given index. |

### Remarks

Additional Resources: [ParticleSystem.TriggerModule.SetCollider](/engine/6000.0/script-reference/unityengine/particlesystem/triggermodule/setcollider.md).
