mouse_wheel_down

The last pressed mouse button.

Syntax:

mouse_wheel_down();


Returns: Bool


Description

This function returns true if the mouse wheel is being rotated downwards and false otherwise.


Example:

if mouse_wheel_down()
   {
   y += 10;
   }

This moves the current instance down the screen if the mouse wheel is rotated upwards.


Back: Mouse Input
Next: mouse_x
© Copyright YoYo Games Ltd. 2018 All Rights Reserved