MCPcopy Index your code
hub / github.com/processing/processing / getButton

Method getButton

core/src/processing/event/MouseEvent.java:77–79  ·  view source on GitHub ↗

Which button was pressed, either LEFT, CENTER, or RIGHT.

()

Source from the content-addressed store, hash-verified

75
76 /** Which button was pressed, either LEFT, CENTER, or RIGHT. */
77 public int getButton() {
78 return button;
79 }
80
81
82// public void setButton(int button) {

Callers 6

nativeMouseEventMethod · 0.80
handleMouseEventMethod · 0.80
fxMouseEventMethod · 0.80
mousePressedMethod · 0.80
mousePressedMethod · 0.80
mouseReleasedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected