Troubleshoot in the following order:
Debugging tip: turn on "🔴 Click Visualization" in the toolbar. While running, you can see where MacroAI actually clicks (red dots), which helps you tell whether it "didn't find it" or "found it but clicked the wrong spot".
The matching threshold (threshold) controls "how similar is similar enough to count as a match", ranging from 0 to 1:
Recommendations:
The three modes determine "how two images are compared for similarity":
Simple selection guide:
The quality of your template image directly determines the match success rate. Key tips:
Common mistakes: capturing the mouse cursor, capturing changing numbers, or having the selection include translucent edges.
The Find Image node has a built-in "click after found" option. When enabled, it automatically clicks once the image is found. Three click targets:
If "click after found" is not enabled, the node only performs the search and stores the result in a variable, so you can use a condition to decide the next action.
These two parameters control "what to do when it's not found":
Interval (e.g. 200 ms): how long to wait between searches. Too small wastes CPU; too large reacts slowly. Generally 200–500 ms is fine.
Use cases:
The search region limits the search range of image search. When set, it only searches within that rectangular area and completely ignores everything outside.
Not set (empty) = search the entire design region (usually full screen).
When should you set it?
When shouldn't you set it?
Multi-image mode lets a single node search for multiple different template images at once. It counts as a success if any one of them is found.
Typical scenarios:
How to use: in the node configuration, click the "+" next to the template image to add multiple images. Set the search mode to "multi-image search".
Matching order: it tries them one by one from top to bottom of the list; the first successful match is used as the result.
When it finds something but clicks the wrong spot, it's usually caused by inconsistent coordinate systems or matching a similar image:
How to debug: turn on "🔴 Click Visualization" and observe the red dot's position. If the red dot is in the right place but the actual click is offset → it's a coordinate strategy/calibration issue. If the red dot itself is in the wrong place → it may have matched a similar image; try switching the matching mode.