getMouseScrollOffsetX
Script::getMouseScrollOffsetX
Returns the horizontal mouse scroll offset between the last and current frame.
Declaration
float getMouseScrollOffsetX(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);
Parameters
Name |
Type |
Description |
---|---|---|
windowID |
The window to check the horizontal scroll wheel offset on. By default, this window will be the main window. |
Returns
The horizontal mouse scroll offset between the last and current frame.
Notes
The horizontal mouse scroll often applies to a laptop’s trackpad. For a mouse scroll wheel, see getMouseScrollOffsetY.