From 97695d37964ba67f24362897c018b1344e9e6c6d Mon Sep 17 00:00:00 2001 From: skyace65 Date: Thu, 23 Dec 2021 20:10:41 -0500 Subject: [PATCH] Improve mouse input event class reference (cherry picked from commit 37dfe5c7066a6e7edefaa371d4f89d1a662ce7fd) --- doc/classes/InputEventMouse.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/InputEventMouse.xml b/doc/classes/InputEventMouse.xml index 0f6c98f12ef..0bc64ef3516 100644 --- a/doc/classes/InputEventMouse.xml +++ b/doc/classes/InputEventMouse.xml @@ -16,10 +16,10 @@ The mouse button mask identifier, one of or a bitwise combination of the [enum ButtonList] button masks. - The global mouse position relative to the current [Viewport] when used in [method Control._gui_input], otherwise is at 0,0. + The global mouse position relative to the current [Viewport]. If used in [method Control._gui_input] and if the current [Control] is not under the mouse, moving it will not update this value. - The local mouse position relative to the [Viewport]. If used in [method Control._gui_input], the position is relative to the current [Control] which is under the mouse. + The local mouse position relative to the [Viewport]. If used in [method Control._gui_input], the position is relative to the current [Control] which is under the mouse. If the current [Control] is not under the mouse, moving it will not update this value.