# visibilityChanged

> The event raised whenever the visibility of a GameObject changes.

## Definition

* **Type:** Event
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static event Action visibilityChanged
```

### Remarks

For performance reasons, this event is not raised for every visibility operation. For example, if you select multiple GameObjects and hide them all at once, the event will be raised only once.
