From f0f13fcdbbb71bd90507746a863c7ccbc57e1e1f Mon Sep 17 00:00:00 2001 From: Adriaan <5611323+AdriaandeJongh@users.noreply.github.com> Date: Sun, 2 Mar 2025 17:50:21 +0100 Subject: [PATCH] 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 --- tutorials/plugins/running_code_in_the_editor.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tutorials/plugins/running_code_in_the_editor.rst b/tutorials/plugins/running_code_in_the_editor.rst index 7688c6565..e9b8825aa 100644 --- a/tutorials/plugins/running_code_in_the_editor.rst +++ b/tutorials/plugins/running_code_in_the_editor.rst @@ -509,6 +509,11 @@ currently focused on the script editor. Scripts that extend EditorScript must be ``@tool`` scripts to function. +.. note:: + + EditorScripts can only be run from the Godot script editor. If you are using + an external editor, open the script inside the Godot script editor to run it. + .. danger:: EditorScripts have no undo/redo functionality, so **make sure to save your