wait_for
Pause automation until a saved on-screen template appears, or until it disappears with gone=true. Returns match location, score, and captured frame.
Instructions
Wait until a saved template appears on screen (or disappears, with gone=true).
Matching is normalised cross-correlation over the whole frame; score 1.0 is identical. Returns where it was found, the score and the frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | ||
| template | Yes | ||
| min_score | No | ||
| timeout_ms | No |