---
title: isEnabledInHierarchy
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/entity/isenabledinhierarchy
---

# isEnabledInHierarchy

A Boolean that indicates whether the entity and all of its ancestors are enabled.

## Declaration

```swift
@MainActor @preconcurrency var isEnabledInHierarchy: Bool { get }
```

## Discussion

Discussion The value of this property is true if the entity and all of its ancestors are enabled, regardless of anchor state.

## See Also

### Managing the entity’s state

- [isEnabled](realitykit/entity/isenabled.md)
- [isActive](realitykit/entity/isactive.md)
- [isAnchored](realitykit/entity/isanchored.md)
