diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index 9d3fec69b95..fddc5e9d365 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -218,7 +218,7 @@ Must [code]return false[/code] in order to forward the [InputEvent] to other Editor classes. Example: [codeblock] # Consumes InputEventMouseMotion and forwards other InputEvent types - func forward_canvas_gui_input(event): + func forward_canvas_gui_input(event): var forward = false if event is InputEventMouseMotion: forward = true @@ -244,7 +244,7 @@ Must [code]return false[/code] in order to forward the [InputEvent] to other Editor classes. Example: [codeblock] # Consumes InputEventMouseMotion and forwards other InputEvent types - func forward_spatial_gui_input(camera, event): + func forward_spatial_gui_input(camera, event): var forward = false if event is InputEventMouseMotion: forward = true