# On List Active Index Change

## Overview

![The On List Active Index Change Node.](/files/E6DCvAZ5lpFdrWlA7Qpn)

The **On List Active Index Change** is an **Event Listener** **Node** used for executing a **Logic Branch** when a **List's** `Active Index` changes.

The `Active Index` of a [**List**](/incari-studio/2023.1/objects-and-types/scene2d-objects/gui/list.md) 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**](/incari-studio/2023.1/toolbox/overview.md#scopes): **Scene**, **Prefab**.

## Inputs

| Input             | Type         | Description                                                                        |
| ----------------- | ------------ | ---------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**.              |
| `Object ID`       | **ObjectID** | The **Object** in which an `Active Index` change triggers the **Logic Branch**.    |
| `Subscribe` (►)   | **Pulse**    | An **Input Pulse** that needs to be triggered to start listening to the **Event**. |

## 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. |
| `Current Index`    | **Int**      | The current `Active Index`.                                                                                                            |
| `Object ID`        | **ObjectID** | The **Object** received as **Input**.                                                                                                  |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2023.1/toolbox/events/list2d/onlistactiveindexchange.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
