Expected opening error

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”)

Name of the function should be one continuous string, you can’t have spaces. Change it to this: func play_animation

Please also check Posting guidelines in #Help channel.