# activeProfileChanged

> Callback invoked when the active build profile has changed to a new value.

## Definition

* **Type:** Event
* **Namespace:** [UnityEditor.Build.Profile](/engine/6000.5/script-reference/unityeditor/build/profile.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static event Action<BuildProfile, BuildProfile> activeProfileChanged
```

### Examples

```csharp
BuildProfile.activeProfileChanged += (BuildProfile previous, BuildProfile current) => {}
```
