mouseClicked() not working

Why mouseClicked() not working on APDE?
Im using APDE 0.5.0

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

For more info check out:

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:

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