Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | GasStation |
The code in question is
func _on_door_anim_body_entered(body):
if body.name == "Player":
$door_open_anim.play("EXPAND")
It always gives me an error
Attempt to call function "play" in base "null instance" on a null instance.