ButtonEvent.getButton

uint getButton() nothrow

Extract the button number from a button event.

Returns

the button of event