Skip to content

Running EditorScripts? #168

@kotaweav

Description

@kotaweav

Is there a way to run scripts in tool mode? I am having trouble running this example:

@tool
extends EditorScript

func _run():
	print("Hello from the Godot Editor!")

from https://docs.godotengine.org/en/stable/classes/class_editorscript.html

I get a No standalone script found. when I try to run gdscript-godot-run-current-script (which I assume is the equivalent of godot -s <script>). Note that I don't use Hydra.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions