Input

mousescroll

Sends a mouse wheel scroll delta.

Syntax

mousescroll(amount: number | integer)

Arguments

NameTypeDescription
amountnumber | integerMouse wheel scroll amount. Positive and negative values scroll in opposite directions.

Description

Sends a mouse wheel scroll delta.

Call it with 1 parameter(s): amount. The argument table explains which values are required and which ones only refine the behavior.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Example call with placeholder values.

mousescroll(1)