diff --git a/.gitignore b/.gitignore index b2ed281ea..316f7d4d4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ __pycache__ *.pyc *~ .directory +.vscode/ # Finder (MacOS) makes these automatically. .DS_Store diff --git a/learning/features/inputs/inputevent.rst b/learning/features/inputs/inputevent.rst index 435c7e1f0..d193a6e87 100644 --- a/learning/features/inputs/inputevent.rst +++ b/learning/features/inputs/inputevent.rst @@ -41,7 +41,11 @@ received input, in order: "input_event" will be emitted (this function is re-implementable by script by inheriting from it). If the control wants to "consume" the event, it will call :ref:`Control.accept_event() ` and the event will - not spread any more. + not spread any more. Events that are not consumed will propagate **up**, + to :ref:`Control `'s ancestors. Use :ref:`Control.mouse_filter ` + property to control whether a :ref:`Control ` is notified + of mouse events via :ref:`Control._gui_input() ` + callback, and whether these events are propagated further. 3. If so far no one consumed the event, the unhandled input callback will be called if overriden (and not disabled with :ref:`Node.set_process_unhandled_input() `).