# selectedIndicesChanged

> Callback triggered when the selection changes.

## Definition

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

```csharp
public event Action<IEnumerable<int>> selectedIndicesChanged
```

### Remarks

This callback receives an enumerable that contains the item index or item indices selected.
