Add child in editor

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Hubber116sx

I need to add a node instance to a scene from a different node with a tool script. The node will be added from the editor and will be saved to the scene to function in the game.

How do I do this?

:bust_in_silhouette: Reply From: happycamper

If you plan to use a node that is already a child of another on something else you need to make it its own tscn so it can be utilized. Recreate the node you want as a standalone tscn