# Sandbox.UI.CurveEditor.SetViewBounds

```csharp
void SetViewBounds(Vector2 min, Vector2 max)
```

Set the visible time/value bounds in actual units.

### Parameters

- `min` (`Vector2`)
- `max` (`Vector2`)

Declared in [Sandbox.UI.CurveEditor](/api/Sandbox.UI.CurveEditor).
Assembly: `Sandbox.Engine`.
