Wrong Help Text Reference for the mousePressed variable
there is a error in the reference
see https://processing.org/reference/mousePressed.html
it has the text of the function mousePressed(), but it should be the text for the variable mousePressed
The code example is correct, function mousePressed() is also correct
=== Context ===
mousePressed Variable storing if a mouse button is pressed mousePressed() Called once after every time a mouse button is pressed
Not solved.
Still wrong help text here: https://processing.org/reference/mousePressed.html
This is correct: https://processing.org/reference/mousePressed_.html
~~Hi @Kango, thanks for the heads up. This will be fixed in the next website release.~~
@Kango just a quick update about this: there is an issue with the Doclet script that generates the reference from the JavaDoc. This was introduced with Processing4's switch from Java 11 to Java 17. This bug is blocking updates to the reference and clearly not ideal, but something I do not have the skills to fix myself. If you or someone you know has the knowledge needed to fix this, let me know 🙏