I've seen this... I tested this on canvas... it worked but for pgraphics, it was not working at all... I made a pgraphics object using createGraphics function and tried to add a touch handler to it... but nothing happened...
Replies are based on the information provided by the poster. :-\"
So I couldn't be 100% sure whether or not you've read about p5.Element::touchStarted() method or just its "global" version p5::touchStarted(): https://p5js.org/reference/#/p5/touchStarted
Answers
https://p5js.org/reference/#/p5.Element/touchStarted
I've seen this... I tested this on canvas... it worked but for pgraphics, it was not working at all... I made a pgraphics object using createGraphics function and tried to add a touch handler to it... but nothing happened...
... I've seen this... I tested this on canvas...
https://OpenProcessing.org/sketch/create