From 5aadb1273b1bd9e031fb0ad972a9ea9371fc8a3f Mon Sep 17 00:00:00 2001 From: weerdy15 <77104725+ItsAleph@users.noreply.github.com> Date: Sun, 8 Jan 2023 15:15:53 +0300 Subject: docs: Improve `InputEventAction` reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rémi Verschelde --- doc/classes/InputEventAction.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/InputEventAction.xml b/doc/classes/InputEventAction.xml index 87e2b8ea20..3816847804 100644 --- a/doc/classes/InputEventAction.xml +++ b/doc/classes/InputEventAction.xml @@ -5,6 +5,7 @@ Contains a generic action which can be targeted from several types of inputs. Actions can be created from the [b]Input Map[/b] tab in the [b]Project > Project Settings[/b] menu. See [method Node._input]. + [b]Note:[/b] Unlike the other [InputEvent] subclasses which map to unique physical events, this virtual one is not emitted by the engine. This class is useful to emit actions manually with [method Input.parse_input_event], which are then received in [method Node._input]. To check if a physical event matches an action from the Input Map, use [method InputEvent.is_action] and [method InputEvent.is_action_pressed]. $DOCS_URL/tutorials/inputs/inputevent.html#actions -- cgit v1.2.3