Window.onMouseUp

Function/Meaning

[Windows *] Mouse button released

Type
WindowclassEvent
Syntax
onMouseUp(x, y, button, shift)
Arguments
x

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

y

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

button

The released mouse button.
It can be one of the following values:

  • mbLeft : Left mouse button released
  • mbMiddle : The middle mouse button was released
  • mbRight : The right mouse button was released
  • mbX1 : Mouse side key 1st button released
  • mbX2 : Mouse side key 2nd button released
shift

This is the state of the shift key that was pressed at the same time when the mouse button was released.
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
Return value
None (void)
Explanation

Occurs when the mouse button is released.