# yMin

> Show the minimum Y value of the RectInt.

## Definition

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

```csharp
public int yMin { readonly get; set; }
```

### Remarks

Sets the minimum Y value of the [RectInt](/engine/6000.5/script-reference/unityengine/rectint.md). If you enter a minimum value that is greater than the current maximum value, then the entered value becomes the new maximum value and the previous maximum value becomes the new minimum value. The position and size of the [RectInt](/engine/6000.5/script-reference/unityengine/rectint.md) is then adjusted based on the new minimum and maximum values.
