I want to get cursor position relative to the window, but not inside the JS event. Something like event.clientX
and event.clientY
but not for event, for the window itself.
Asked
Active
Viewed 169 times
0

General Grievance
- 4,555
- 31
- 31
- 45

noiseymur
- 761
- 2
- 15
-
`but not inside the JS event.` what does that mean exactly? – epascarello Feb 11 '22 at 19:44
-
@lusc Yes, exactly. Thanks a lot. Didn't found that question before – noiseymur Feb 11 '22 at 19:46