How can I blend those animations but only when the character moves ? So if the “Speed” variable is 0.0 then do the attack animation normally (without blending).
I can do the blend animation based on the official UE TPS tutorial video but it makes the character’s leg looking weird when it just stands and not running, so that is why I want the blend only when the character is moving (when the legs are in step animation).
You might get an answer sooner if you show what you have already got or tried.
There are many ways of animating characters in UE4 and even more ways to achieve what you desire.
If you show your current set-up you will likely get a tailored answer, otherwise someone would need to describe the animation & character set-up from scratch in order to give an answer that might not be suitable for you.