# Set Active Index

## Overview

![The Set Active Index Node.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-4ebf83e3940448dcc70f7ba460d052d958043090%2Fsetactiveindexnode.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/2023.2/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/2023.2/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/2023.2/toolbox/incari/list2d/getactiveindex)
