# attachedColliderCount

> Returns the number of Collider2D attached to this Rigidbody2D.

## Definition

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

```csharp
public int attachedColliderCount { get; }
```

### Remarks

Additional Resources: [Rigidbody2D.GetAttachedColliders](/engine/6000.7/script-reference/unityengine/rigidbody2d/getattachedcolliders.md)
