Illutions Engine API - v0.26.0
    Preparing search index...

    Interface CanvasKeyEvent

    Fired when the user uses keys while the canvas has focus and triggers the corresponding XState event.

    interface CanvasKeyEvent {
        event: KeyboardEvent;
        type: "CANVAS_KEY_DOWN" | "CANVAS_KEY_UP";
    }
    Index
    event: KeyboardEvent

    Native keyboard event from the canvas interaction.

    type: "CANVAS_KEY_DOWN" | "CANVAS_KEY_UP"

    Identifies this event type.