Function GetPointerPos() Foundation

Determines the position of the mouse pointer.

Syntax
GetPointerPos() --> <aPos>
Return

GetPointerPos() returns an array containing two elements: {xPos,yPos}. This array contains the x and y coordinates of the mouse pointer.

Description

Function GetPointerPos() can be used to determine the current position of the mouse pointer. The pointer position is specified relative to the desktop object, see the function AppDesktop().

GetPointerPos() returns the same values as VirtualScreen:getPointerPos().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.