# GetPerimeter()

> Get the length of the perimeter of the shape.

## Definition

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

```csharp
public float GetPerimeter()
```

### Returns

| Type                                                          | Description                               |
| ------------------------------------------------------------- | ----------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The length of the perimeter of the shape. |
