Skip to content

Commit ac646d5

Browse files
Add note that _run() can only be called from Godot's internal script editor
1 parent 3d87a07 commit ac646d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tutorials/plugins/running_code_in_the_editor.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,11 @@ currently focused on the script editor.
503503

504504
Scripts that extend EditorScript must be ``@tool`` scripts to function.
505505

506+
.. note::
507+
508+
If you are using an external editor, open the script inside the Godot
509+
script editor so you can execute the function.
510+
506511
.. danger::
507512

508513
EditorScripts have no undo/redo functionality, so **make sure to save your

0 commit comments

Comments
 (0)