getMouseScrollOffsetY

Script::getMouseScrollOffsetY

Returns the vertical mouse scroll offset between the last and current frame.

Declaration

float getMouseScrollOffsetY(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);

Parameters

Name

Type

Description

windowID

WindowID

The window to check the vertical scroll wheel offset on. By default, this window will be the main window.

Returns

The vertical mouse scroll offset between the last and current frame.

Notes

The vertical mouse scroll often applies to a mouse scroll wheel.