ButtonEvent.getButton

Extract the button number from a button event.

class ButtonEvent
uint
getButton
()

Return Value

Type: uint

the button of @event

Meta