New to Unreal Engine, I am making a top down game and wanting to make a roll mechanic.

I was able to get the roll animation down but it is only in the direction of the character is facing. Since the animation is in the direction the character is facing if i were to roll the character follows the mouse instead of the direction i am moving the character. iv been at this for a long time any help would be appriciated.