Correct mouse_and_input_coordinates.rst

This commit is contained in:
profande
2023-09-21 13:20:00 -04:00
committed by GitHub
parent 5b557cc500
commit eb1dec4da2
@@ -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.