Skip to main content

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​

InputTypeRequiredDefaultWhat it is
XNumberYesHorizontal position.
YNumberYesVertical position.
Relative toStringNoscreenscreen: x and y are measured from the top-left of the screen; window: from the top-left of the chosen window.
WindowStringNoWindow 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)NumberNo0Glide to the point over this many milliseconds; 0 jumps there at once.
From xNumberNoPut 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 yNumberNoVertical position of the starting point (with from_x).
Window widthNumberNoOuter 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 heightNumberNoOuter height the window is given first, in pixels (with window_width).