# sqrDistance

> The squared distance between the closest points. Use this in place of _distance when comparing against another squared distance, as it avoids a square root.

## Definition

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

```csharp
public float sqrDistance { get; }
```
