This is my onready variable for my boss health bar, it is inside 'World.gd'
onready var BossBar = get_node("/root/World/GUI/CanvasLayer/BossHealth")
This is my function, calling show()
BossBar.show()
For some reason, when I get to this line, and try to use the function, it says:
"Invalid call. Nonexistent function 'show' on base 'Nil'".
My ProgressBar node is in my scene tree. Why does this happen?