Skip to content

mouse_wheel_down

drewmccluskey edited this page Feb 12, 2019 · 2 revisions

mouse_wheel_down

Returns true if mouse wheel is being rotated downward

Syntax:

mouse_wheel_down()

Returns: bool

Description:

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

Example:

if (mouse_wheel_down())
{
    Position.Y += 10;
}

This code will move your object down when you rotate your mouse wheel downward.

Back to Mouse

Clone this wiki locally