Event.getButton

Extract the button number from an event.

class Event
int
getButton
(
out uint button
)

Parameters

button uint

location to store mouse button number. out

Return Value

Type: int

TRUE if the event delivered a button number Since 3.2

Meta