Skip to content

queryWorld beta ​

Function of @v12-engine/engine

ts
export declare function queryWorld(world: World, query?: WorldQuery): Entity[];

What in the world is all a query asks (WorldQuery), in its order, as many as it says: a new list. Throws for a query that asks is with no player to ask it of, or sorts by distance with no near