Image is on screen
True when the picture is visible on the screen, or inside one window, within the tolerance.
Condition in the Image recognition toolkit · id ooa.image/image_on_screen · 6 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Template | File | Yes | Picture to look for. | |
| Tolerance | Number | No | 10 | Allowed difference in percent (0 = pixel-exact); raise for anti-aliased or scaled screens. |
| Window | String | No | Look only inside this window (text in its title, * and ?, or re:); x and y then count from its top-left corner (G4). | |
| Wait (seconds) | Number | No | 0 | Keep looking this many seconds until it is there; 0 looks once (G4). |
| Occurrence | Number | No | 1 | True only when the picture appears at least this many times (G4). |
| Click if found | Boolean | No | false | Also click the picture when it is there (G4). |