Drag with the mouse
amiga_dragPerform mouse drags from x1,y1 to x2,y2 with optional via points to move icons/files, adjust sliders, resize windows, or select Amiga menu items; the button is released even on errors.
Instructions
Press a mouse button at x1,y1, move through the 'via' points if given, to x2,y2, and release. For drag and drop (icons, files), sliders and scroll bars, resizing, and Amiga menus (right button: hold it over the screen's title bar, drag to the item). The button is always released, even on an error. Coordinates as in amiga_screenshot. For a timed gesture use amiga_input; to pick a menu item by name use amiga_ui_menu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | start x | |
| x2 | Yes | end x | |
| y1 | Yes | start y | |
| y2 | Yes | end y | |
| via | No | points to pass through, [[x,y],...] | |
| button | No | left (default), right (menus) or middle |