Top down game dash help?

So right now im making a top down game and im trying to make a dash mechanic but its just acting really weird and i want an expert to point out whats wrong. Dragonheart Spire - Flowlab Game Creator

You are not stopping the movement on the x-axis. Because of this the player will keep moving left or right even when they are not interacting with the keyboard. You will have to introduce some logic to set the x-velocity to 0 when the left or right inputs are not down. For example, you can use an “XNOR” gate, which activates when both inputs are on or off.

1 Like

I dont get it