Browse Source

Clarify InputMap.action_get_events() in the editor

(cherry picked from commit 523558406656a982e6359e558833ae2d002aafee)
kobewi 3 years ago
parent
commit
33bcf1c5d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/InputMap.xml

+ 1 - 0
doc/classes/InputMap.xml

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