Most appropriate sub-area of p5.js?
p5.js version
2.1.1
Web browser and version
iOS 26
Operating system
iOS
Steps to reproduce this
2 Steps:
- Open THIS SKETCH on Safari on iOS
- Press any button
I have a keyPressed() function in the button class.
function screenInteract() {
button.keyPressed();
}
function mousePressed() {
screenInteract(mouseX, mouseY);
}
function touchStarted() {
if (touches.length > 0) {
screenInteract(touches[0].x, touches[0].y);
}
return false;
}
function touchEnded() {
if (touches.length > 0) {
screenInteract(touches[0].x, touches[0].y);
}
return false;
}
This does work on Chrome on Android. Any help appreciated!
Most appropriate sub-area of p5.js?
p5.js version
2.1.1
Web browser and version
iOS 26
Operating system
iOS
Steps to reproduce this
2 Steps:
I have a keyPressed() function in the button class.
This does work on Chrome on Android. Any help appreciated!