PowerKeys Scripting API
    Preparing search index...

    Interface ImageMatchResult

    Best successful template match. Coordinates identify the template center in signed physical Windows virtual-screen space and can be passed directly to Mouse.Move.

    interface ImageMatchResult {
        x: number;
        y: number;
        score: number;
    }
    Index
    x: number

    Absolute X coordinate of the matched template's center, not its left edge.

    y: number

    Absolute Y coordinate of the matched template's center, not its top edge.

    score: number

    Final verified match score from 0 through 1. Zero-mean normalized cross-correlation under the template's alpha mask, color-verified unless matchColor is false: expect 0.9+ for a pixel-faithful template and roughly 0.7 or less for absent or unrelated content.