Drag
dragMoves the mouse while holding the left button from (x1,y1) to (x2,y2) to move files, select text, resize windows, or reorder items on screen.
Instructions
Drag with the left mouse button from (x1,y1) to (x2,y2): move files, select text, resize, reorder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| image | No | x/y are pixels in this attached voice-question image (1-based) | |
| screen | No | x/y are screen points (e.g. from ui_elements) rather than screenshot pixels | |
| look_after | No | Return a fresh screenshot of the front window after the action, to check the result |