# xMin

> The minimum X coordinate of the rectangle.

## Definition

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

```csharp
public float xMin { get; set; }
```

### Remarks

This value is the same as [Rect.x](/engine/6000.0/script-reference/unityengine/rect/x.md), but setting it will resize the rectangle, changing [Rect.x](/engine/6000.0/script-reference/unityengine/rect/x.md) and [Rect.width](/engine/6000.0/script-reference/unityengine/rect/width.md) to preserve [Rect.xMax](/engine/6000.0/script-reference/unityengine/rect/xmax.md).
