# Sandbox.UI.TabBar.MoveTab

```csharp
void MoveTab(Tab tab, int index)
```

Move a tab to a zero-based position without changing selection.

### Parameters

- `tab` (`Tab`)
- `index` (`int`)

Declared in [Sandbox.UI.TabBar](/api/Sandbox.UI.TabBar).
Assembly: `Sandbox.Engine`.
