Skip to content

mouse_wheel_up

drewmccluskey edited this page Feb 12, 2019 · 2 revisions

mouse_wheel_up

Returns true if the mouse wheel is being rotated upward

Syntax:

mouse_wheel_up()

Returns: bool

Description:

Returns true if the mouse wheel is being rotated upward. When rotating downward or not being rotated at all it will return false.

Example:

if (mouse_wheel_up())
{
    Position.Y -= 10;
}

This will move your object up when you rotate your mouse wheel upward.

Back to Mouse

Clone this wiki locally