My pg doesn t move legs durnig attacks

guys i have a problem when i attack my pg make the attack animation, but if i try to move my pg move himself without moving animation,there is a method to make legs move??Thanks.

If I undestand correctly the problem you have is that you have added the attack animation to only the case that your player is idle , but actually you need to add the attack animation to your player when he is jumping ,walking, idle etc

how are you calling the attack animation? does your character walk prior to the attack?

if your just playing an animation from your event graph it may be disabling the anim bp. ive seen this issue before but its been awhile. maybe try using a montage instead.