Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
onMouseScroll #102
Adds a mouse scroll "hotkey" to the game window.
176b | 5 lines.
  Script made by Lee (Discord: l33_) -
  If you want to support my work, feel free to donate at
  PS. Stop ripping off my work and selling it as your own.
local gamePanel = modules.game_interface.gameMapPanel
gamePanel.onMouseWheel = function(widget, mousePos, scroll)
    -- 1 = scroll up  2 = scroll down

06 Aug 2022