 |
Mouse
Constant Methods
- boolean is_down ( button button )
- boolean is_up ( button button )
Events
- on_move = function ( number x, number y )
Calls the specified handler function continually throughout frames while the X or Y axis of the mouse is being changed
- on_press = function ( button button )
Calls the specified handler function when a mouse button is pressed
- on_release = function ( button button )
Calls the specified handler function when a mouse button is released
- on_wheelmove = function ( number z )
Calls the specified handler function continually throughout frames while the Z axis of the mouse is being changed
Predefined Buttons
| MBUTTON_LEFT |
| MBUTTON_MIDDLE |
| MBUTTON_RIGHT |
| MBUTTON_X |
|