registerDrawBlockHighlight

open fun registerDrawBlockHighlight(method: Any): EventTrigger

Registers a new trigger that runs before the block highlight box is drawn.

Passes through two arguments:

  • The draw block highlight event's position

  • The draw block highlight event, which can be cancelled

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard