# enabledInHierarchy

> Returns true if the VisualElement is enabled in its own hierarchy.

## Definition

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

```csharp
[CreateProperty(ReadOnly = true)]
public bool enabledInHierarchy { get; }
```

### Remarks

This flag verifies if the element is enabled globally. A parent disabling its child VisualElement affects this variable.
