diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-04 09:03:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 09:03:21 +0200 |
commit | 3ac1c8e9f3ffb417c20d095f88c13294dd73f508 (patch) | |
tree | e3d98769df161c82a4dbbf5ac237e767e878a77b | |
parent | 5022efef02cd671010438ca467e7e4411d177faa (diff) | |
parent | 523558406656a982e6359e558833ae2d002aafee (diff) |
Merge pull request #60731 from KoBeWi/action_editor
Clarify InputMap.action_get_events() in the editor
-rw-r--r-- | doc/classes/InputMap.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/InputMap.xml b/doc/classes/InputMap.xml index 61d54e85f8..eb708432b4 100644 --- a/doc/classes/InputMap.xml +++ b/doc/classes/InputMap.xml @@ -45,6 +45,7 @@ <argument index="0" name="action" type="StringName" /> <description> Returns an array of [InputEvent]s associated with a given action. + [b]Note:[/b] When used in the editor (e.g. a tool script or [EditorPlugin]), this method will return events for the editor action. If you want to access your project's input binds from the editor, read the [code]input/*[/code] settings from [ProjectSettings]. </description> </method> <method name="action_has_event"> |