How to make a Standing Still boolean?

i have a problem with my sprinting code in the first person blueprint; when the player is sprinting but stops moving, the sprint continues even when the sprint key is released. it only stops when the player presses the sprint key again.

to solve this, i had the idea of making an ‘IsStoodStill’ bool, but i dont know how to do it.

attached here are my sprinting code, movement code and attempted IsStill bool.



im fairly new and not the greatest at blueprinting so im open to feedback.

Looks like you have the wrong set checkbox on “is sprinting” . Should be reversed.
The first image.

tbh i followed a tutorial for that and the sprinting somehow works lol. ill try reversing it to see if it changes anything.

(edit) yes it works, but it functions the same as how i had it before. i think its because i have a ‘CanSprint’ bool and a ‘IsSprinting’ bool that do similar things.

Lol, you have the same reverse in the last image.

If “is still” true - is running = false , else nothing . Last image.