mouseClicked() not working

Why mouseClicked() not working on APDE?
Im using APDE 0.5.0
Code:
https://pastebin.com/91wyHgzY

Please include your code, version, and what mode you are using.

For more info check out:
https://processing.org/reference/mouseClicked_.html

Included version,code.

Because it is on a touchscreen device, where touch behavior is different to mouse behavoir, there is a different set of functions to use rather than mousePressed(), mouseReleased() and mouseMoved().

Namedly they are:
touchStarted()
touchEnded()
touchMoved()

Also the mousePressed (mouseIsPressed in p5) is touchIsStarted.

It is documented here.

1 Like

thank you.i found that documantaion before you wrote that comment,but thx)

1 Like