# Set Active Index

## Overview

![The Set Active Index Node.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-d9654e35e79dae7ee9731aa42a01e8672d239b97%2Fsetactiveindexnode20241.png?alt=media)

The **Set Active Index Node** sets the value of a **List's** `Active Index` **Attribute**.

The `Active Index` of a [**List**](https://docs.incari.com/incari-studio/objects-and-types/scene2d-objects/gui/list) is the place of the active item in its order. Indexing starts at 0, so if the very first element of the **List** is the active item, the `Active Index` would be 0.

[**Scope**](https://docs.incari.com/incari-studio/overview#scopes): **Scene**, **Function**, **Prefab**.

## Inputs

| Input             | Type         | Description                                                           |
| ----------------- | ------------ | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Object ID`       | **ObjectID** | The **List** the user wishes to set the `Active Index` for.           |
| `Active Index`    | **Int**      | The value of the **List's** `Active Index` **Attribute**.             |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |

## See Also

* [**Get Active Index**](https://docs.incari.com/incari-studio/toolbox/incari/list2d/getactiveindex)
