# cullingEnabled

> When this property is set to true, _onGUIHandler is not called when the Element is outside the viewport.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public bool cullingEnabled { get; set; }
```
