How to track mouse move event on screen


#1

It is easily possible to track mousemove event by adding event listener.
But is it possible to get mouse position (and event handler triggered) if the cursor is not over the electron app window?


#2

Take a look at robotjs:

hope it will help you