Add_child does not add a child after 2 additions to one Node

Godot Version

Godot 4.2.1

Question

var c_list = $MainScreen/ScreenBackground/MainWin/C_List
var new_user = MarginContainer.new()
var uc_main = Button.new()
var userpanel = HBoxContainer.new()
userpanel.name = “UserPanel_”

c_list.add_child(new_user)
new_user.add_child(uc_main)
uc_main.add_child(userpanel)
uc_main.get_child() #return <Object#null>

Last add_child not working…and i dont know why!

“get_child()” does not register the child until the end of the frame, you should call deferred

uc_main.call_deferred(“add_child”,userpanel) should I do this?