Window.onMouseMove

Function/Meaning

[Windows *] Mouse moved

Type
WindowclassEvent
Syntax
onMouseMove(x, y, shift)
Arguments
x

The x-coordinate (in client coordinates) value of where the mouse was moved.

y

The y-coordinate (in client coordinates) value of where the mouse was moved.

shift

This is the state of shift keys and mouse buttons that were pressed at the same time when the mouse was moving.
It is a combination of the following values by bit OR.

  • ssAlt : The ALT key was pressed
  • ssShift : The SHIFT key was pressed
  • ssCtrl : CTRL key was pressed
  • ssLeft : The left mouse button was pressed
  • ssMiddle : The middle mouse button was pressed
  • ssRight : The right mouse button was pressed
Return value
None (void)
Explanation

Occurs when the mouse moves.