Improved @onClick, @onAnyBotClicked, @onGridClick, @onPointerEnter, @onPointerExit, @onPointerDown, @onPointerUp, @onAnyBotPointerEnter, @onAnyBotPointerExit, @onAnyBotPointerDown, and @onAnyBotPointerUp to include the ID of the button that was pressed.
For each of these listeners, that.buttonId will be either "left", "right", "middle", or null.
This means that you can now determine which button was pressed (if any) and respond accordingly.
:rocket: Features
@onClick
,@onAnyBotClicked
,@onGridClick
,@onPointerEnter
,@onPointerExit
,@onPointerDown
,@onPointerUp
,@onAnyBotPointerEnter
,@onAnyBotPointerExit
,@onAnyBotPointerDown
, and@onAnyBotPointerUp
to include the ID of the button that was pressed.that.buttonId
will be either"left"
,"right"
,"middle"
, ornull
.Closes #492