Syntax
Description
Moves the mouse cursor to absolute screen coordinates. This is a low-level command that operates directly on pixel coordinates without element resolution.Parameters
Absolute screen coordinates in format
x,y (e.g., 500,300). Coordinates are measured from the top-left corner of the primary display.Examples
Move to specific coordinates
Move to top-left corner
Move to center of 1920x1080 screen
Use Cases
- Position cursor for custom gestures or patterns
- Move cursor outside UI elements to clear hover states
- Precise pixel-level cursor control for drawing applications
- Navigate to coordinates calculated from element bounds
- Move cursor away from active areas to prevent interference
Coordinate System
- Origin
(0,0)is at the top-left corner of the primary display - X increases from left to right
- Y increases from top to bottom
- Coordinates are in screen pixels
- Multi-monitor setups extend the coordinate space
Related Commands
- hover - Move to element center or coordinates with ref support
- mouse-click - Click at coordinates
- mouse-down - Press button at coordinates
- mouse-up - Release button at coordinates