Dash that resets movement and velocity

Hi! I’m quite new to Unreal and i’d love some help in implementing a dash in a top down game.

I currently have a dash that launches the character in the direction that they’re moving, based on their velocity. The problem with this implementation however is that if then mid-dash, dash again while looking in the other direction, it once again dashes the character in the previous dash direction, even if i’m looking the other way.
I’m guessing this is cause I still have velocity in the previous direction, so it just adds on to that velocity in the same direction.

I’d instead like to create a dash where the dash completely resets the character’s velocity and movement from the previous dash, so that I can dash back and forth in different directions in a snappy way, mid jump!

Here is the current blueprint:

Any help would be appreciated!

Instead of using the current velocity for the Dash, you can use the Actors forward vector. (‘Get Forward Vector’ node)
That way, the character will dash in whatever direction its facing instead of whatever direction its travelling.

Thank you for your reply! I tried that and it unfortunately doesn’t work. It instead causes the character to instantly come to a stop, without ever dashing.