-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build process
- Unit testing
- Internationalization
- Friendly errors
- Other (specify if possible)
p5.js version
2.0.0
Web browser and version
Firefox Android 137.0.2 / Chrome Android 135.0.7049.100
Operating system
Android
Steps to reproduce this
Steps:
- Open a sketch that uses
mouseXormouseYon Android, e.g. an example from https://beta.p5js.org/reference/p5/mouseX/ - Tap somewhere on the canvas
mouseXandmouseYremain 0. Expected:mouseXandmouseY"hold the x/y-coordinate of the most recent touch point" as described in the documentation.
Snippet:
function draw() {
background(200);
text(`x: ${mouseX} y: ${mouseY}`, 0, 50);
}