Skip to content

attackersOf beta ​

Function of @v12-engine/engine

ts
export declare function attackersOf(world: World, target: Entity, layer?: EngageLayer): Entity[];

Everyone fighting the target or closing in on it: of one layer only, when one is named