summaryrefslogtreecommitdiffstats
path: root/doc/classes/EditorScript.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/EditorScript.xml')
-rw-r--r--doc/classes/EditorScript.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/EditorScript.xml b/doc/classes/EditorScript.xml
index 82aa8f4ffc..1cdf192027 100644
--- a/doc/classes/EditorScript.xml
+++ b/doc/classes/EditorScript.xml
@@ -6,7 +6,7 @@
<description>
Scripts extending this class and implementing its [method _run] method can be executed from the Script Editor's [b]File &gt; Run[/b] menu option (or by pressing [kbd]Ctrl + Shift + X[/kbd]) while the editor is running. This is useful for adding custom in-editor functionality to Redot. For more complex additions, consider using [EditorPlugin]s instead.
[b]Note:[/b] Extending scripts need to have [code]tool[/code] mode enabled.
- [b]Example script:[/b]
+ [b]Example:[/b] Running the following script prints "Hello from the Godot Editor!":
[codeblocks]
[gdscript]
@tool