# activeTab

> Property that holds the current active tab.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public Tab activeTab { get; set; }
```

### Remarks

Setting a valid tab will also deselect the previous active tab before setting the newly assigned tab to active.
