# ClosestPoint(Vector2)

> Calculate the closest point on this geometry to the specified point.

## Definition

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

```csharp
public readonly Vector2 ClosestPoint(Vector2 point)
```

### Parameters

**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): The point to check.

### Returns

| Type                                                              | Description                                               |
| ----------------------------------------------------------------- | --------------------------------------------------------- |
| [Vector2](/engine/6000.5/script-reference/unityengine/vector2.md) | The closest point on the geometry to the specified point. |
