|Topic was automatically imported from the old Question2Answer platform.
I am trying to get my player’s health to go down when a slime touches it. I already have the code for that, and I am trying to get a label to display the health variable, but it won’t change. Any suggestions? Here is the line of code that should change the text:
$Node2D/HPValue.text = str(health)