mouseMoved
mouseMoved is an event that is triggered in graphical user interface programming when the user moves the mouse pointer. This event is typically part of a larger event handling system, common in frameworks like Java Swing, JavaFX, or various web browser JavaScript APIs. When a mouseMoved event occurs, it signifies that the cursor's position on the screen has changed.
The event object associated with mouseMoved usually contains information about the new coordinates of the mouse
Unlike mouseDragged events, mouseMoved fires even when no mouse button is held down. This distinction is important