# Sandbox.UI.Panel.TryScroll

```csharp
bool TryScroll(Vector2 value)
```

Called from [Sandbox.UI.Panel.OnMouseWheel](/api/Sandbox.UI.Panel/OnMouseWheel) to try to scroll.

### Parameters

- `value` (`Vector2`): The scroll wheel delta. Positive values are scrolling down, negative - up.

### Returns

`bool`: Return true to NOT propagate the event to the [Sandbox.UI.Panel.Parent](/api/Sandbox.UI.Panel/Parent).

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
