mousemoveabs
Moves the mouse cursor to an absolute screen position.
Syntax
mousemoveabs(x: number, y: number) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | X coordinate in pixels |
y | number | Y coordinate in pixels |
Returns
This function does not return a value.
Description
mousemoveabs moves the physical cursor to coordinates relative to the game client area. Volt ignores simulated input while the game window is not focused.
Example
-- Move to top-left corner
mousemoveabs(0, 0)
-- Move to center of screen (assuming 1920x1080)
mousemoveabs(960, 540)
-- Move to specific button location
mousemoveabs(500, 300)
mouse1click()Related Functions
mousemoverel- Move relative to current position