- Edited
"Attempt to call function 'popup_centered' in base 'null_instance' on a null instance"
This is the error I get when I walk into an area 2D node. I'd like it to show a popup.
I have a popup node as an Autoload, I have an area 2D with this code
func _on_Port_body_entered(body):
$root/GUI.popup_centered()