Skip to content

Commit f0f13fc

Browse files
Clarify that EditorScript can only run using the internal script editor (#8623)
* Add note that _run() can only be called from Godot's internal script editor
1 parent 23d108d commit f0f13fc

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
@@ -509,6 +509,11 @@ currently focused on the script editor.
509509

510510
Scripts that extend EditorScript must be ``@tool`` scripts to function.
511511

512+
.. note::
513+
514+
EditorScripts can only be run from the Godot script editor. If you are using
515+
an external editor, open the script inside the Godot script editor to run it.
516+
512517
.. danger::
513518

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

0 commit comments

Comments
 (0)