How To Get Root Node of An Instanced Scene from a Script

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

I’m trying to get the root node of a scene that I have instanced in code, yet I can’t figure out how to do it through the get_node function.

:bust_in_silhouette: Reply From: brainbug

the return value of instance() is the root node of the Scene.