player left animation doesn't work

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Randy_845

The player moves well, and all the animations work except the left one, it moves to that side but the animation doesn’t come out.

if Input.is_action_pressed("ui_up"):
	movement.y -= velocity
	see.set_cast_to(Vector2(0,-50))
	animation = "Walking_Up"
	
if Input.is_action_pressed("ui_down"):
	movement.y += velocity
	see.set_cast_to(Vector2(0,50))
	animation = "Walking_Down"
	
if Input.is_action_pressed("ui_left"):
	movement.x -= velocity
	see.set_cast_to(Vector2(-50,0))
	animation = "Walking_Left"
	
if Input.is_action_pressed("ui_right"):
	movement.x += velocity
	see.set_cast_to(Vector2(50,0))
	animation = "Walking_Right"
	
move_and_slide(movement)
animations.play(animation)
:bust_in_silhouette: Reply From: Gluon

The animations are case dependant. if you check the name of the animation in the node my guess is you will find it has a different case perhaps the L in left is lower case or something.