I created a level object as a scene, and I need to display special things in the editor to make its edition more user-friendly.
I tried to add it in the script with
get_tree().is_editor_hint(), but because of the way my script works it becomes a bloat nightmare.
So I'm doing this with additional nodes, so the two logics are well separated. While these nodes are handy, I don't want them to end up in the exported game.
How can I tell Godot not to include a specific node of a scene?