# On Mouse Scroll

## Overview

![The On Mouse Scroll Node.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-ee6acd893cec55e0b0efeb8310f3adc79dc54866%2Fonmousescrollupdatedimage.png?alt=media)

**On Mouse Scroll** is an **Event Listener** **Node** used for executing a **Logic Branch** when the user scrolls over an **Object**.

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

## Attributes

![The On Mouse Scroll Node Attributes.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-84ca63299b0425113649bcda4d8eb1bc89570565%2Fonmousescrollattributes.png?alt=media)

| Attribute | Type         | Description                                                           |
| --------- | ------------ | --------------------------------------------------------------------- |
| `Object`  | **ObjectID** | The **Object** in which scrolling over triggers the **Logic Branch**. |

## Inputs

| Input           | Type         | Description                                                                        |
| --------------- | ------------ | ---------------------------------------------------------------------------------- |
| `Object ID`     | **ObjectID** | The **Object** in which scrolling over 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. |
| `Position`         | **Vector2**  | **Vector** whose Y-coordinate indicates the direction and speed of the scrolling.                                                      |
| `Object ID`        | **ObjectID** | The **Object** received as **Input**.                                                                                                  |

## See Also

* [**Events**](https://docs.incari.com/incari-studio/2022.1/toolbox/events)
* [**Mouse**](https://docs.incari.com/incari-studio/2022.1/toolbox/events/mouse)
