Contents

isActive

A Boolean that indicates whether the entity is active.

Declaration

@MainActor @preconcurrency var isActive: Bool { get }

Discussion

The value of this property is true if the entity is anchored in a scene, and it and all of its ancestors are enabled (isEnabled is set to true). RealityKit doesn’t simulate or render inactive entities.

See Also

Managing the entity’s state