Keymap.getScrollLockState

bool getScrollLockState() nothrow

Returns whether the Scroll Lock modifer is locked.

Returns

true if Scroll Lock is on