I want to build a dash function for my platformer. When the dash button is pressed, the player should move quickly in the direction it's facing, but the user shouldn't be able to cancel the dash movement by pressing another button (like move-arrow or fire).
Here's my logic, everything works except the "start ignoring platform user input" part. If I leave that in there the player doesn't move, i.e., it stays in one place during the dashing animation. But if I take it out, the user can stop the dash movement by pressing another button (like move-arrow or fire).
Any suggestions on how I can get the player to move but ignore input at the same time?