|Topic was automatically imported from the old Question2Answer platform.
I’m building an editor tool, and i’m trying do the following:
- take a Node and it children from the sceneTree
- pack them into a PackedScene and save to file,
- add them back to the main scene, maintaining the reference to the file
This is the same functionality as SaveBranchFromScene… is it possible to do this from code?
I can instance a scene and add it back into the tree, but it’s not a linked instance… like when you right click on a node and press “Make Local”.
I need it to be a linked instance, so that when I edit it the file elsewhere in the future, it’ll update here too.