Hi there! I have two Actions set onto one button, Tap to Jump and Hold to Sprint. Both actions work however I don't want the player to jump if they're trying to sprint. Any Ideas?
i have an idea.
1.set a timer when you press the button, the waittime can be a variable, just call "it's timetosprint".
2,the time duration you press( calculate at the moment you release the button) is less than the waittime, jump event execute.
3.In waittime you didnt release the button, the timer work! it's time to sprint,sprint event execute.
4.after you release the button,clear the timer
Finally,maybe it's the blueprint you need.
Follow this question
Once you sign in you will be able to subscribe for any updates here