# On Visibility Change

## Overview

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

**On Visibility Change** is an **Event Listener** **Node** used for executing a **Logic Branch** when the **Visibility** of an **Object** changes.

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

## Attributes

![The On Visibility Change Node Attributes.](https://926825830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQhJdUBr7YQzfIwmpAZ9%2Fuploads%2Fgit-blob-32c97e4ebf62ba8eb206fdba2ac9fdae543c36e0%2Fonvisibilitychangeattributes.png?alt=media)

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

## Inputs

| Input           | Type         | Description                                                                        |
| --------------- | ------------ | ---------------------------------------------------------------------------------- |
| `Object ID`     | **ObjectID** | The **Object** in which a change of **Visibility** 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. |
| `Is Visible`       | **Bool**     | Whether the **Object** is now visible or not.                                                                                          |
| `Object ID`        | **ObjectID** | The **Object** received as **Input**.                                                                                                  |

## See Also

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