Retrieves the current position of the mouse cursor.
A Point object containing the x and y coordinates of the mouse cursor.
import { MouseGetPos } from '@ahmic/autoit-js';const position = MouseGetPos();console.log(position); // Output: { x: 100, y: 200 } Copy
import { MouseGetPos } from '@ahmic/autoit-js';const position = MouseGetPos();console.log(position); // Output: { x: 100, y: 200 }
https://www.autoitscript.com/autoit3/docs/functions/MouseGetPos.htm
Retrieves the current position of the mouse cursor.