File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import * as constants from '../core/constants';
20
20
* Note: `movedX` continues updating even when
21
21
* <a href="#/p5/requestPointerLock">requestPointerLock()</a> is active.
22
22
* But keep in mind that during an active pointer lock, mouseX and pmouseX
23
- * are not locked, so `movedX` is based on
23
+ * are locked, so `movedX` is based on
24
24
* <a href="https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX">the MouseEvent's movementX value</a>
25
25
* (which may behave differently in different browsers when the user
26
26
* is zoomed in or out).
@@ -69,6 +69,11 @@ p5.prototype.movedX = 0;
69
69
*
70
70
* Note: `movedY` continues updating even when
71
71
* <a href="#/p5/requestPointerLock">requestPointerLock()</a> is active.
72
+ * But keep in mind that during an active pointer lock, mouseX and pmouseX
73
+ * are locked, so `movedX` is based on
74
+ * <a href="https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX">the MouseEvent's movementX value</a>
75
+ * (which may behave differently in different browsers when the user
76
+ * is zoomed in or out).
72
77
*
73
78
* @property {Number } movedY
74
79
* @readOnly
You can’t perform that action at this time.
0 commit comments