how to make a child node independent?

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

So i need to make a node become actually free from the parent node or move it to the root node.
Is there any way to do that or it is possible at least? thank you

:bust_in_silhouette: Reply From: jgodfrey

You can use remove_child() to remove the node’s current parent relationship and then use add_child() again to assign a new parent.

it will just readd the node without any gained properties (rotation,position,ect)…

vania23 | 2022-12-10 10:30