Skip to content

Commit 711869b

Browse files
authored
Merge pull request #7311 from shourysingh07/issue_583
mouseY reference first example issue fixed
2 parents 03b9517 + 3bb2222 commit 711869b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/mouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ p5.prototype.mouseX = 0;
247247
* background(200);
248248
*
249249
* // Draw a horizontal line that follows the mouse's y-coordinate.
250-
* line(0, mouseY, 0, mouseY);
250+
* line(0, mouseY, 100, mouseY);
251251
* }
252252
* </code>
253253
* </div>

0 commit comments

Comments
 (0)