Closed
Description
Most appropriate sections of the p5.js website?
Reference
What is your operating system?
Mac OS
Web browser and version
Firefox
Actual Behavior
On https://p5js.org/reference/p5/mousePressed/, it contains this code snippet:
if (mouseX < 50) {
// Code to run if the mouse is on the left.
}
Expected Behavior
if (mouseX < 50) {
// Code to run if the mouse is on the left.
}
Steps to reproduce
Go to https://p5js.org/reference/p5/mousePressed/
Would you like to work on the issue?
Need to discuss the fix first