Godot Version
Godot-4
Question
Im absolutely new to any form of coding and i this is my first try. Im trying to add the animation to my movement but i get a "expected opening" line at this part of the code
func play animation(dir:Vector2) → void:
if dir.x > 0:
animated_sprite_2d.play(“run_right”)