Skip to content

distanceToEdge beta ​

Function of @v12-engine/engine

ts
export declare function distanceToEdge(point: Vec2, target: Placed): number;

Distance from a point to the edge of an entity