# onSelectedIndicesChange

> Obsolete. Use _selectedIndicesChanged instead.

## Definition

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

> **Warning:**
>
> **Deprecated.** onSelectedIndicesChange is deprecated, use selectedIndicesChanged instead

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

### Remarks

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