Hello everyone, I’m having trouble with a sprinting logic, I tried using it in two different projects but for some reason I can’t get the gamepad left thumb stick button to work for sprinting, at first I was using a different button that was working fine and then I changed my mind and started using this new one but whenever I tap the button it doesn’t stay sprinting
Hey @Twan_so-kl how are you?
As far as I understand, what you want to do is to tap the left thumb stick to start sprinting and then tap again to stop sprinting, right?
In that case, the problem is you are making the sprint stop when you release the button, as you can see in the following image:
“Completed” means you released the button!
You shouldn’t have any logic there. You only need to check if “Is Sprinting” following the “Started” pin, if it is true call “Stop Sprinting” and set the boolean false, if it is false run your Sprinting logic and set the boolean true!!
That should solve the issue! Let me know if it worked or if you need more help!
(post deleted by author)




