Unreal-4.27 I want my character to move from idle to movepose and then start moving and viceversa Unreal-4.27

I want my third-person character to move from idle animation to move pose animation and then moving animation, vice-versa, All I want is to be done with a single W key . But every time when I play with blueprints. It just moves from idle to move state or idle to move pose state. One of the animations gets skipped. I am a beginner and I am sick of this problem can anyone solve my problem and send me a screenshot plz.