# Sandbox.UI.BaseVirtualPanel.OnMouseWheel

```csharp
void OnMouseWheel(Vector2 value)
```

Gives the containing control first use of the wheel, then scrolls normally.

### Parameters

- `value` (`Vector2`)

Declared in [Sandbox.UI.BaseVirtualPanel](/api/Sandbox.UI.BaseVirtualPanel).
Assembly: `Sandbox.Engine`.
