# this[]

> An indexer allowing access to any Collider2D in the collection.

## Definition

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

## this\[int]

```csharp
public readonly Collider2D this[int index] { get; }
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                                    | Description |
| ----------------------------------------------------------------------- | ----------- |
| [Collider2D](/engine/6000.5/script-reference/unityengine/collider2d.md) |             |

### Remarks

This must be in the range of 0 to [ColliderArray2D.Length](/engine/6000.5/script-reference/unityengine/colliderarray2d/length.md)-1.
