getWinPosition
Retrieves the screenX and screenY of current window.
See Window at mdn to know about these values.
getWinPosition()Returns#
- A
mapwith keys:x: Anumber.screenXof the window in pixels.y: Anumber.screenYof the window in pixels.
Example#
print(getWinPosition())# prints, {x: 0, y: 0}