# Sandbox.UI.StatusBar.RemoveWidget

```csharp
bool RemoveWidget(Panel widget)
```

Remove a direct slot widget without deleting it. The caller takes ownership.

### Parameters

- `widget` (`Panel`)

### Returns

`bool`

Declared in [Sandbox.UI.StatusBar](/api/Sandbox.UI.StatusBar).
Assembly: `Sandbox.Engine`.
