diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 3f2deb2b3..946aa0882 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -499,10 +499,9 @@ public class PApplet implements PConstants { public int mouseButton; /** - * The mousePressed() function is called once after every time a - * mouse button is pressed. The mouseButton variable (see the - * related reference entry) can be used to determine which button has - * been pressed. + * The mousePressed variable stores whether a mouse button has been pressed. + * The mouseButton variable (see the related reference entry) can be used to + * determine which button has been pressed. *

* Mouse and keyboard events only work when a program has draw(). * Without draw(), the code is only run once and then stops