2
0
Fork 0

Clarify InputMap.action_get_events() in the editor

4.0
kobewi 2022-05-03 19:44:40 +07:00
parent 1b2992799b
commit 5235584066
1 changed files with 1 additions and 0 deletions

@ -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">