# max

> The position of the maximum corner of the rectangle.

## Definition

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

```csharp
public Vector2 max { get; set; }
```

### Remarks

Setting this value will resize the rectangle, changing [Rect.size](/engine/6000.0/script-reference/unityengine/rect/size.md) to preserve [Rect.min](/engine/6000.0/script-reference/unityengine/rect/min.md).
