# GetTotalPointCount()

> Return the total number of points in the polygon in all paths.

## Definition

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

```csharp
public int GetTotalPointCount()
```

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### Remarks

Additional Resources: [PolygonCollider2D.points](/engine/6000.6/script-reference/unityengine/polygoncollider2d/points.md).
