# Sandbox.UI.Panel.ScrollTo

```csharp
void ScrollTo(Vector2 offset)
```

Jump to a scroll position, clamped to the scrollable area. Stops any inertia.

### Parameters

- `offset` (`Vector2`)

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
