Skip to content

portalUsed beta ​

Variable of @v12-engine/engine

ts
portalUsed: import("./events").EventKey<{
    entity: number;
    from: Vec2;
    to: Vec2;
    gate?: number;
}>

A unit went through a waygate, or a town portal: told to everyone who sees either end, for a sound and a flash