Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Superkrypet |
My Code:
animationPlayer = $animationplayer
if Input.is_action_pressed("WASD_d"):
animationplayer.play("RunLeft")
The error:
attempt to call function ‘play’ in base ‘null instance’ on a null instance
And i use:
Func _physics_process(delta):
Superkrypet | 2020-07-31 17:13