Skip to content

waygateTarget beta ​

Function of @v12-engine/engine

ts
export declare function waygateTarget(world: World, gate: Entity): Vec2 | undefined;

Where a waygate leads, or nothing for one that is shut or leads to a point the map does not have