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.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”boolean