# On List Current Index Change

## Overview

![The On List Current Index Change Node.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-f5e07feacf996214d5d064b5fcd683db9355ed91%2Fonlistcurrentindexchangeupdatedimage.png?alt=media)

**On List Current Index Change** is an **Event Listener** **Node** used for executing a **Logic Branch** when the current index of a **List** changes.

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

## Attributes

![The On List Current Index Change Node Attributes.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-f29055f5f7e22f8e5cd5ceeea41455788802b47a%2Fonlistcurrentindexchangeattributes.png?alt=media)

| Attribute | Type         | Description                                                                                                                |
| --------- | ------------ | -------------------------------------------------------------------------------------------------------------------------- |
| `Object`  | **ObjectID** | The **List** in which an index change triggers the **Logic Branch**, if none is given in the `Object ID` **Input Socket**. |

## Inputs

| Input           | Type         | Description                                                                        |
| --------------- | ------------ | ---------------------------------------------------------------------------------- |
| `Object ID`     | **ObjectID** | The **List** in which an 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 index of the **List**.                                                                                                     |
| `Object ID`        | **ObjectID** | The **List** received as **Input**.                                                                                                    |

## See Also

* [**List Events**](https://docs.incari.com/incari-studio/2023.2/toolbox/events/list)
* [**List Object**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2023.2/objects-and-types/scene-objects/list-widget.md)
