# index

> The currently selected index in the popup menu. Setting the index updates the PopupField<T>.value field and sends a property change notification.

## Definition

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

```csharp
[CreateProperty]
public int index { get; set; }
```
