registerScrolled

fun registerScrolled(method: Any): RegularTrigger?

Registers a method to be run while the gui is open. Registered method runs on mouse scroll. Arguments passed through to method:

  • int mouseX

  • int mouseY

  • int scroll direction

Sources

Link copied to clipboard