# GetItemForIndex(int)

> Returns the item with the specified index.

## Definition

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

```csharp
public virtual object GetItemForIndex(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The item index.

### Returns

| Type                                                           | Description                             |
| -------------------------------------------------------------- | --------------------------------------- |
| [Object](https://learn.microsoft.com/dotnet/api/system.object) | The object in the source at this index. |
