How can I move node C to the sub node of the master without deleting the node in the code?

Thanks.

  • popcar2 and xyz replied to this.
  • cynerboy There's also reparent()

    $b/c.reparent($a)

    cynerboy Remove the node then add it back wherever you'd like

    var c: Node = $"b/c"
    $b.remove_child(c)
    add_child(c)

    This removes the node from b and adds it back as a child of master

    cynerboy There's also reparent()

    $b/c.reparent($a)