Clarify InputMap.action_get_events() in the editor

(cherry picked from commit 5235584066)
This commit is contained in:
kobewi 2022-05-03 19:44:40 +02:00 committed by Rémi Verschelde
parent 7c400b3ea0
commit 68b4cdfaf9

View file

@ -87,6 +87,7 @@
<argument index="0" name="action" type="String" />
<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="get_actions">