Skip to content

Commit 9fcd93e

Browse files
authored
Merge pull request godotengine#7990 from profande/patch-2
Correct mouse_and_input_coordinates.rst
2 parents 0fe7ff8 + eb1dec4 commit 9fcd93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/inputs/mouse_and_input_coordinates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ Alternatively, it's possible to ask the viewport for the mouse position:
6363

6464
GetViewport().GetMousePosition();
6565

66-
.. note:: When the mouse mode is set to ``Input.MOUSE_MODE_CAPTURED``, the ``event.position`` value from ``InputEventMouseMotion`` is the center of the screen. Use ``event.relative`` instead of ``event.position`` and ``event.speed`` to process mouse movement and position changes.
66+
.. note:: When the mouse mode is set to ``Input.MOUSE_MODE_CAPTURED``, the ``event.position`` value from ``InputEventMouseMotion`` is the center of the screen. Use ``event.relative`` instead of ``event.position`` and ``event.velocity`` to process mouse movement and position changes.

0 commit comments

Comments
 (0)