registerGuiRender

open fun registerGuiRender(method: Any): RegularTrigger

Registers a new trigger that runs as a gui is rendered

Passes through three arguments:

  • The mouse x position

  • The mouse y position

  • The gui

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard