Click template
template.clickCheck one supplied source image or capture fresh frames, then click the template match center.
Example use
Find a button template in the configured target and click the match center.
Node preview
Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.
Loading node preview…
Data inputs 9
- Source image
imageImage Optional; connect Capture Window to skip capture here. A fixed image is checked once.
OptionalDefault:None- Template image
templateImage Durable template image to wait for and click.
RequiredDefault:None- Search region
regionRegion Region of the captured window to search.
Default availableDefault:{"height":1,"unit":"ratio","width":1,"x":0,"y":0}Value format examples
{"height":0.5,"unit":"ratio","width":0.5,"x":0.25,"y":0.25}- Match threshold
thresholdNumber Score from 0 to 1 required before clicking.
Default availableDefault:0.85- Wait timeout
timeoutDuration (milliseconds) · ms Maximum wait in milliseconds when no source image is supplied; 0 checks one frame.
Default availableDefault:5000- Minimum: 0
- Maximum: 86400000
Value format examples
1000- Poll interval
poll-intervalDuration (milliseconds) · ms Milliseconds between fresh frame checks.
Default availableDefault:100- Minimum: 0
- Maximum: 86400000
Value format examples
1000- Settle duration
settle-durationDuration (milliseconds) · ms Milliseconds to wait and relocate after a live match; must be 0 with a source image.
Default availableDefault:0- Minimum: 0
- Maximum: 86400000
Value format examples
1000- Pointer button
buttonPointer button Use the left, right, or middle pointer button.
Default availableDefault:"left"- Options: "left", "right", "middle"
- Hold duration
hold-durationDuration (milliseconds) · ms Milliseconds between button press and release.
Default availableDefault:50- Minimum: 0
- Maximum: 86400000
Value format examples
1000
Configuration 1
- Window target slot
slotText Select a target bound to an application path, window title, and window class.
RequiredDefault:None- Minimum characters: 1
- Maximum characters: 128
- Pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$
Data outputs 4
- Matched
matchedBoolean Whether the final frame met the threshold before clicking.
- Match score
scoreNumber Final template score before clicking.
- Click center
centerPoint Pixel center converted to the exact-window click position.
Value format examples
{"unit":"ratio","x":0.5,"y":0.5}{"unit":"px","x":640,"y":360}- Matched bounds
boundsRegion Pixel bounds of the match before clicking.
Value format examples
{"height":0.5,"unit":"ratio","width":0.5,"x":0.25,"y":0.25}
Control and error ports
- Input
inInput · Control - An incoming control signal enters this operation.
- Completed
completedOutput · Control - Continue from this result or stage; see the node description for branch conditions.
- Timeout
timeoutOutput · Control - Continue from this result or stage; see the node description for branch conditions.
- Failed
failedOutput · Error - Emitted when the operation fails; connect error handling here.
Version and node identity
Version 1.2.0
sha256:b029709727b9cf62aa13a655d730d62c70c062c519220cef834040d93d3cd342