obsidian/MyObsidianVault/Knowledgebase/Godot/snippets/Tool Scripts run in editor.md
2025-11-04 08:02:10 +01:00

553 B

Runtime tools

  • Addon: godot-console
  • Addon: godot-debug-menu-demo => display FPS
    • os.has_feature("editor"), os.has_feature("debug"), os.has_feature("debug") to conditionally toggle

https://youtu.be/7gnozJ7KPK4?si=IvqeIRyLJSed2mhV

Tool Scripts: Make script available from inside the editor @tool at top of script !


! !

=> Engine.is_editor_hint() to check if script is running in editor, disable functionality when inside editor