Sander @ March 5 at 9:35 am

#til In Godot, if a scene is instantiated at design time and a child is added to it, does the child belongs to the scene whose tree is currently open, or the scene it's attached to?

When duplicating a node (including a scene) at runtime it is the node tree where the node sits that is duplicated, so it includes the child. But if the scene is marked as a InstancePlaceholder, and create_instance() is called at runtime, it creates a instance of the scene, and any attached children have to be duplicated and attached to the instance with code. #Godot