From 523558406656a982e6359e558833ae2d002aafee Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 3 May 2022 19:44:40 +0200 Subject: Clarify InputMap.action_get_events() in the editor --- doc/classes/InputMap.xml | 1 + 1 file changed, 1 insertion(+) 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 @@ 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]. -- cgit v1.2.3