# Sandbox.UI.MenuPanel.OnLayout

```csharp
void OnLayout(ref Rect layoutRect)
```

### Parameters

- `ref layoutRect` (`Rect`)

Declared in [Sandbox.UI.MenuPanel](/api/Sandbox.UI.MenuPanel).
Assembly: `Sandbox.Engine`.
