I always got this error:
Invalid set index 'text' (on base: 'null instance') with value of type 'String'.
I tried a lot of things the location is ok
This it the structure
Popup (node type: Popup)
├── AnimationPlayer (node type: AnimationPlayer)
├── Timer (node type: Timer)
└── Box (node type: Panel container)
└── Label (node type: Label)
func show_popup(msg: String) -> void:
%PopUp/Box/Text.text = msg
%PopUp/AnimationPlayer.play("Show")
%PopUp/Timer.wait_time = 2
%PopUp/Timer.start()