MCPcopy Index your code
hub / github.com/benfry/processing4 / mousePressed

Method mousePressed

core/src/processing/core/PApplet.java:2421–2421  ·  view source on GitHub ↗

The mousePressed() function is called once after every time a mouse button is pressed. The mouseButton variable (see the related reference entry) can be used to determine which button has been pressed. Mouse and keyboard events only work when a program has draw() .

()

Source from the content-addressed store, hash-verified

2419 * @see PApplet#mouseWheel(MouseEvent)
2420 */
2421 public void mousePressed() { }
2422
2423
2424 public void mousePressed(MouseEvent event) {

Callers 1

handleMouseEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected