> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2023.1/toolbox/events/object/on-visibility-change.md).

# On Visibility Change

## Overview

![The On Visibility Change Node.](/files/HpLUZJSxmHMTdGcQnOWf)

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

[**Scope**](/incari-studio/2023.1/toolbox/overview.md#scopes): **Scene**, **Prefab**.

## Attributes

![The On Visibility Change Node Attributes.](/files/8BqFIlHiPGMo4Bjac4IU)

| 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**.                                                                                                                                                                                  |
| `Event ID`         | **ObjectID** | The ID of the current **Event**. This can be connected to the [**Unsubscribe Node**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2023.1/toolbox/incari/event/unsubscribe.md) to unsubscribe from the **Event**. |

## See Also

* [**Events**](/incari-studio/2023.1/toolbox/events.md)
* [**Object**](/incari-studio/2023.1/toolbox/events/object.md)
