On this page
Follow these steps
Add one target image
Open Image Detection and choose Image condition under Action type. Use Browse for a saved picture or Paste image for a copied one. Check that the preview matches the picture you want to find.

Choose Image condition, then use Browse or Paste image to add your target. Enlarge image. - Choose Image condition as the Action type.
- Browse selects the image to find on the screen.
Choose a small search area
Set Search area to Selected area and choose Select area. Draw around the target and little else. Keep the window visible and in place.
Keep the match simple
Use one target at its normal size and color. Start with the default confidence. Narrow the search area if similar pictures could also match.
Test without clicking
Set Condition to Appears and Wait to Wait with timeout. Enter 5 seconds. Set If found to Continue to next step, and If time runs out to Stop automation.

Set the found and timeout branches before adding the condition to Steps. Enlarge image. - Use Wait with timeout and set the maximum wait.
- Stop automation ends the run when the image is not found before the timeout.
Add and test one run
Select Add to steps. Keep only this condition enabled and set Run options to one run. Run automation with the target visible. The activity indicator reports Condition met for a match; this one-condition run then finishes without clicking.
Test the absent picture
Hide the target or move it outside the area, then run again. The activity indicator should show No current match until the five-second timeout stops the run.
Check your result
- The visible target takes the found branch, and the absent target reaches the timeout branch.
- If the screen could not be read, fix the capture error and try again. An error does not mean the picture disappeared.
If you need more help
When to use this method
For a simple test, display a small, distinctive picture in a visible window and keep the same picture as a file. You will show it for one test and hide it for another. Save your existing workflow before testing this condition.
Use a visual condition when you need to wait for something on screen. A fixed click is enough when the target stays in one place; image detection helps when a visible shape is the signal.
Color or image?
Use an image when the shape, icon or label distinguishes the target. Use Color Detection for a simple color change in a small area.
Display scale, themes and hover states can change either target. Test the same appearance that the real task will use.
Image and color matching
- How it works
- A workflow can use one or more image or color targets, wait for appearance or disappearance and run a chosen action only from a fresh verified match.
- Important limit
- When a button changes size, theme or animation state, capture a new template before replay because the saved pixels no longer describe the target.
Advanced matching choices
Use a scale range only when the same target actually changes size. Appearance emphasizes the full look, Outline emphasizes shape and Combined uses both. Grayscale can help when color is irrelevant. Confidence controls how close a result must be.
With several targets, choose whether any one is enough or all must be present in the same scan. If several matches exist, select the first, best, nearest or a specific numbered match. Use disappearance only when the target leaving the screen is the real signal.
A single scan checks once. Wait with timeout keeps checking until the set time ends. Until found has no finite no-match result for Otherwise. A click on a found image uses the fresh verified position. A failed or disappearance result clears the old position instead of reusing it.
If a match is missed or points to the wrong place
Stop with F12 before adjusting the target. Check that the loaded preview matches the visible image at the same scale and theme, then select the search area again. If several similar images are visible, tighten the area and check the match selector before changing Confidence.
A screen-capture error is not proof that an image disappeared. Read the error, restore the visible screen source and repeat both the visible and absent tests. Keep If found set to Continue to next step until both tests follow the intended branches.
Need the app?
Osenpa Auto Clicker. Check requirements and download options.