Open Boscop opened 6 years ago
How to get mouse position from a MouseDownEvent and similar mouse events (mousemove, etc)?
MouseDownEvent
You'd use client_x and client_y. They're on the IMouseEvent trait, so that way they work on all of the mouse-related events.
client_x
client_y
IMouseEvent
How to get mouse position from a
MouseDownEvent
and similar mouse events (mousemove, etc)?