---
title: GetColliderCount(int)
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unityengine/particlesystem/colliderdata/getcollidercount
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/particlesystem/colliderdata/getcollidercount.md
last_updated: 2026-09-14
generated_at: 2026-11-15T07:07:31.199Z
locale: en-us
---

# GetColliderCount(int)

> Returns how how many Colliders a particle is interacting with.

## Definition

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

```csharp
public int GetColliderCount(int particleIndex)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the particle event.

### Returns

| Type                                                       | Description                                               |
| ---------------------------------------------------------- | --------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The number of Colliders the particle is interacting with. |
