i'm making a keypad thing and i don't know how to check if the label text is the same as a value of a var. here's my code :
func _physics_process(delta):
if $Label3D1.text == "hi":
get_tree().quit()
i set the label text to hi, but the game wont quit.