How do i make my anim play the right way?

hi,
one question, how do i make this only do anim when he moves?

because now i only press shift once and do nothing more, but how?

https://gyazo.com/e42165c4067981d143d205af30232251
thats what i mean

and does it have something to do with the priorities or ?

these priorities:

image