# ranges

> Optional rectangle that the curve is restrained within. If the range width or height is \< 0 then CurveField computes an automatic range, which encompasses the whole curve.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.UIElements](/engine/6000.5/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public Rect ranges { get; set; }
```
