Skip to content

Disabled

const Disabled: ComponentDef<{ }>

Defined in: ecs/component.ts:1232

Marks an entity inactive: it keeps its components and its place in the tree, and every query skips it — which is how the systems skip it. A query that NAMES this one sees them, since managing the switch means reaching what is switched off; setEntityActive sets it, and takes the subtree with it.