# GetPhysicsShapePointCount(int)

> Retrieves the number of points in the selected physics shape for the sprite.

## Definition

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

```csharp
public int GetPhysicsShapePointCount(int shapeIdx)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the physics shape to retrieve the number of points from.

### Returns

| Type                                                       | Description                                                                |
| ---------------------------------------------------------- | -------------------------------------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Returns the number of points in the selected physics shape for the sprite. |
