Is there a -solid- way of getting the cursor location on mouse move anywhere?
My original approach was: Framer.Device.screen.onMouseMove (e,layer)-> GlobalMouseX = e.offsetX # use GlobalMouseX later, etc.
But the mouseMove event is captured by child layers. Moreover the layer parameter does not correctly point to these layers when they capture the event.
e.pageX is not an option because it gets messed up when things are scaled.
The answer is MouseEvent.contextPoint, a property that Framer now adds to all MouseEvents. (See 'Event Coordinates' here: https://github.com/koenbok/Framer/wiki/DPR-Upgrade-Guide )