# PointToNormalized(Rect, Vector2)

> Returns the normalized coordinates corresponding to the point.

## Definition

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

```csharp
public static Vector2 PointToNormalized(Rect rectangle, Vector2 point)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): Rectangle to get normalized coordinates inside.**** (\[Vector2]\(/engine/6000.0/script-reference/unityengine/vector2)): A point inside the rectangle to get normalized coordinates for.

### Returns

| Type                                                              | Description |
| ----------------------------------------------------------------- | ----------- |
| [Vector2](/engine/6000.0/script-reference/unityengine/vector2.md) |             |

### Remarks

The returned Vector2 is in the range 0 to 1 with values more 1 or less than zero clamped.
