diff options
author | kobewi <kobewi4e@gmail.com> | 2022-05-03 19:44:40 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-05-03 19:45:50 +0200 |
commit | 523558406656a982e6359e558833ae2d002aafee (patch) | |
tree | 940e3f3c3ff14ca8936c0588a05b95c45564499b /doc/classes | |
parent | 1b2992799b324479b3fba9e05ae6226a46cb4143 (diff) |
Clarify InputMap.action_get_events() in the editor
Diffstat (limited to 'doc/classes')
-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"> |