Returns the current position of the pointer.
capi
current-pointer-position &key relative-to pane-relative-p => x, y
relative-to⇩ | |
pane-relative-p⇩ |
A boolean. |
x |
An integer. |
y |
An integer. |
The function current-pointer-position
returns the current x,y position of the pointer on the screen of relative-to, which defaults to the current screen.
If pane-relative-p is true then the position is returned relative to relative-to, otherwise it is returned relative to the screen. The default value of pane-relative-p is t
.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27