# segmentCount

> Get the number of Chain segments that this chain has created and owns. See PhysicsShape.ShapeType.ChainSegment.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

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