ButtonEvent.getButton

uint getButton()

Extract the button number from a button event.

Returns

the button of event