Merge pull request #2166 from asheraryam/patch-1

Added note for the captured mouse mode scenario.
This commit is contained in:
Nathan Lovato
2019-02-06 16:26:59 +09:00
committed by GitHub
@@ -62,3 +62,5 @@ Alternatively, it's possible to ask the viewport for the mouse position:
.. code-tab:: csharp
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`` to process mouse movement and position changes.