Layer.onMouseMove

Function/Meaning

The mouse has moved

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

The x-coordinate (in the layer's display coordinates) value of where the mouse was moved.

y

The y-coordinate value (in the layer's display coordinates) 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.