So, I was attempting to clean my code so it would be easier to understand what was happening but after I did that, the dash ability start teleporting me up.
The code looks like this:
The behaviors in a group on the left side is the dash mechanic. You can find this code in the bundle “Better 2D Walker” in the Player. Make sure to try this in the testing room by the way. (To dash, you must be in the air and click shift.)
On mobile rn, but you have a Position behavior with the Y input. I’d double check the value that it gets. To me it looks like the Always and Number would set it to 0, then the number would later be set to the player Y. On mobile though so I can’t check the game
The Position is so supposed to keep the player at the same Y position while being boosted on the X axis. I did that because everytime I tried to make a dash in my past games it would result in the player being pushed to the side so the fix I had to that was to keep the player on the same Y position.