# GetPhysicsOutlineCount()

> The number of physics outlines for the Sprite.

## Definition

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

```csharp
public int GetPhysicsOutlineCount()
```

### Returns

| Type                                                       | Description                                    |
| ---------------------------------------------------------- | ---------------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The number of physics outlines for the Sprite. |

### Remarks

A *physics outline* is a cyclic sequence of line segments between points that define the outline of the Sprite used for physics. Since the Sprite can have holes and discontinuous parts, it can be made up of more than one physics outline.
