Skip to content

QueryArg

QueryArg = AnyComponentDef | MutWrapper<AnyComponentDef> | AddedWrapper<AnyComponentDef> | ChangedWrapper<AnyComponentDef>

Defined in: ecs/query.ts:109

Anything Query accepts: a component for read access, or one wrapped in Mut to write, Added() to match only entities that just gained it, or Changed() to match only those whose copy was written since the last run.