PowerKeys Scripting API
    Preparing search index...

    Interface MousePosition

    Cursor point in physical Windows virtual-screen coordinates. Mouse, Screen, Window, and overlay geometry use the same coordinate space, but APIs can describe different reference points such as a cursor point, image center, or window top-left.

    interface MousePosition {
        x: number;
        y: number;
    }
    Index
    x y
    x: number

    Absolute horizontal coordinate; negative on monitors left of the primary monitor.

    y: number

    Absolute vertical coordinate; negative on monitors above the primary monitor.