Skip to content

isEntityActive

isEntityActive(world, entity): boolean

Defined in: ecs/entityUtils.ts:86

Whether this entity ITSELF is switched on. An ancestor’s switch takes it out of every query without changing this — see setEntityActive.

World

number

boolean