# activeTabChanged

> Called when the active tab is reassigned.

## Definition

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

```csharp
public event Action<Tab, Tab> activeTabChanged
```

### Remarks

This callback receives two tabs, the first being the previously selected tab and the second being the newly selected tab.
