Browse Source

Correct mouse_and_input_coordinates.rst

profande 1 year ago
parent
commit
9e1f1da45a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/inputs/mouse_and_input_coordinates.rst

+ 1 - 1
tutorials/inputs/mouse_and_input_coordinates.rst

@@ -63,4 +63,4 @@ Alternatively, it's possible to ask the viewport for the mouse position:
 
     GetViewport().GetMousePosition();
 
-.. 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.
+.. 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.