# On Mouse Click

## Overview

![The On Mouse Click Node.](https://1582035224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-3848250649%2Fuploads%2Fgit-blob-444de1c2dfa6abc0c9a767ecac33dca8d86df71a%2Fnode-on-mouse-click.png?alt=media)

**On Mouse Click** is an **Event Listener** **Node** used for executing a **Logic Branch** when an **Object** is clicked.

## Attributes

### Object

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

### Button

| Attribute      | Type          | Description                                                                        |
| -------------- | ------------- | ---------------------------------------------------------------------------------- |
| `Mouse Button` | **Drop-down** | Whether the left, middle, or right button of the mouse will trigger the **Logic**. |

## 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. |
| `IsLongClick`      | **Bool**  | *True* when the button is pressed longer than usual.                                                                                   |

## See Also

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