Event.getButton

Extract the button number from an event.

class Event
bool
getButton
(
out uint button
)

Parameters

button uint

location to store mouse button number

Return Value

Type: bool

%TRUE if the event delivered a button number

Meta