Mouse move
Move the pointer to a point on the screen or in a window, at once or gradually.
Command in the Mouse and keyboard toolkit · id ooa.desktop/mouse_move · 9 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| X | Number | Yes | Horizontal position. | |
| Y | Number | Yes | Vertical position. | |
| Relative to | String | No | screen | screen: x and y are measured from the top-left of the screen; window: from the top-left of the chosen window. |
| Window | String | No | Window to bring to the front first: text in its title, a pattern with * or ?, or re:regex. Empty uses the window that is in front. | |
| Duration (milliseconds) | Number | No | 0 | Glide to the point over this many milliseconds; 0 jumps there at once. |
| From x | Number | No | Put the pointer at this point first (with from_y, measured like x and y), then move to x, y; e.g. after pressing a button down, for a drag. | |
| From y | Number | No | Vertical position of the starting point (with from_x). | |
| Window width | Number | No | Outer width the window is given first, in pixels (with window_height), so a point measured from its corner lands where it was taken; Pick on screen fills it in. | |
| Window height | Number | No | Outer height the window is given first, in pixels (with window_width). |