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

    Interface CanvasPointerEvent

    Fired when the user uses the pointer on the canvas and triggers the corresponding XState event.

    interface CanvasPointerEvent {
        event: PointerEvent;
        type:
            | "CANVAS_CLICK"
            | "CANVAS_POINTER_DOWN"
            | "CANVAS_POINTER_MOVE"
            | "CANVAS_POINTER_UP";
    }
    Index
    event: PointerEvent

    Native pointer event from the canvas interaction.

    type:
        | "CANVAS_CLICK"
        | "CANVAS_POINTER_DOWN"
        | "CANVAS_POINTER_MOVE"
        | "CANVAS_POINTER_UP"

    Identifies this event type.