Event.getButton

bool getButton(out uint button)

Extract the button number from an event.

Parameters

buttonlocation to store mouse button number

Returns

true if the event delivered a button number