extends CharacterBody2D
func _physics_process_Delta():
var direction = get_vecter("move_left", "move_right", "move_up", "move_down") what is wrong
velocity = direction * 600
move_and_slide()
if velocity.length() > 0.0:
$HappyBoo.play_walk_animation()
else:
$HappyBoo.play_idle_animation()
I don't know what is wrong with it. I am following a tutorial. Here is the link-