2D Animation.Play does no effect

Good day to all!

Short intro:
Ive added the spreadsheet to the assets, sliced it, put one of the slices to the scene, created 2 animations based on the slices and set their Animation Types to 1 (as I found out, for making it Legacy). After that, Ive created the script and dropped it to the slice on the scene:

	if (Input.GetKeyDown ("5"))	{
		animation.PlayQueued ("anim_right_down_up");
		Debug.Log("Pressed 5"); }

The question is that when I press “5”, the console gives the needed message, but there is no animation (as well as error or warning messages)

I`ve spent so much time solving this problem, so I would be glad to get any clues. Thanks in advance

I`ve sorted it out. Hope it will be useful for someone.

The solution was in accessing animator instead of animations. Ive set the Animation Types back to 2 and called animators “Play” function, giving the name of the new state