Returns the mouse pointer position relative to the screen it is currently on.
The returned coordinates have (0, 0) at the top-left corner of the screen that the cursor is on.
(0, 0)
An object with x and y number properties, or null if no screen can be determined.
x
y
null
Returns the mouse pointer position relative to the screen it is currently on.
The returned coordinates have
(0, 0)at the top-left corner of the screen that the cursor is on.