Godot Version
4.2.1
Question
I’m writing a plugin that runs in the editor and which the user can use to generate a tree of nodes which are added to the current scene. At the moment every node I generate is shown in the Scene panel in an expanded state. I would like some of the nodes to be closed. How can I indicate in my script that a node should be closed when displayed in the Scene panel?