# shapeCount

> The number of active PhysicsShape2D the Collider2D is currently using.

## Definition

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

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

### Remarks

If the [Collider2D](/engine/6000.6/script-reference/unityengine/collider2d.md) is disabled, inactive or in [error](/engine/6000.6/script-reference/unityengine/collider2d/errorstate.md) then this count will be zero.
