Drag
dragPresses the left mouse button at start coordinates, moves the pointer to target coordinates in steps, then releases, enabling click-and-move actions on X11/Xwayland displays.
Instructions
Presses the left button at 'from', moves to 'to' in steps, releases. X11/Xwayland targets only (the virtual pointer protocol cannot hold a button).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Display id from display_open. Optional when exactly one display is open. | |
| to_x | Yes | ||
| to_y | Yes | ||
| steps | No | ||
| from_x | Yes | ||
| from_y | Yes | ||
| window_id | No |