<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/Entity/isEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation6EntityC9isEnabledSbvp"
  },
  "title" : "isEnabled"
}
-->

# isEnabled

A Boolean that you set to enable or disable the entity and its
descendants.

```
@MainActor @preconcurrency var isEnabled: Bool { get set }
```

## Discussion

Set this value to `true` to enable the entity. Unless an ancestor is
disabled, the entity and all of its enabled descendants, up to the first
that’s disabled, report [`isEnabledInHierarchy`](/documentation/RealityKit/Entity/isEnabledInHierarchy) of `true`. If an
ancestor is disabled, they all report `false`. The state of
[`isActive`](/documentation/RealityKit/Entity/isActive) for enabled entities is `true` if they are anchored,
or `false` otherwise.

If you disable an entity, it and all of its descendants become both
disabled ([`isEnabledInHierarchy`](/documentation/RealityKit/Entity/isEnabledInHierarchy) returns `false`) and inactive
([`isActive`](/documentation/RealityKit/Entity/isActive) returns `false`), regardless of any other state.

When an entity is disabled, it’s no longer visible in your scene. However, the entity is still included in an [`EntityQuery`](/documentation/RealityKit/EntityQuery).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)