# How to make a Standing Still boolean?

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-standing-still-boolean/2165015>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [December 2, 2024, 6:14pm UTC](https://forums.unrealengine.com/t/how-to-make-a-standing-still-boolean/2165015 "2024-12-02T18:14:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jambo857](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambo857/32/1000349_2.png) [@Jambo857](https://forums.unrealengine.com/u/Jambo857)\
**Post date:** [December 2, 2024, 6:14pm UTC](https://forums.unrealengine.com/t/how-to-make-a-standing-still-boolean/2165015/1 "2024-12-02T18:14:17Z")

</div>

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.

 ![Screenshot 2024-12-02 161304](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/e/5aedd9e430dc8446a76c8d732ce33cb838d2836a.png)  
 ![Screenshot 2024-12-02 161207](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/9/e29e1156b79db10381c00b5fb216b09c707c1b34.png)  
 ![Screenshot 2024-12-02 181322](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/2/d42268a1576c3cf633ec6b3105355c5bd03ff3a0.png)

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

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [December 2, 2024, 6:23pm UTC](https://forums.unrealengine.com/t/how-to-make-a-standing-still-boolean/2165015/2 "2024-12-02T18:23:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jambo857](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambo857/32/1000349_2.png) [@Jambo857](https://forums.unrealengine.com/u/Jambo857)\
**Post date:** [December 2, 2024, 6:26pm UTC](https://forums.unrealengine.com/t/how-to-make-a-standing-still-boolean/2165015/3 "2024-12-02T18:26:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [December 2, 2024, 6:33pm UTC](https://forums.unrealengine.com/t/how-to-make-a-standing-still-boolean/2165015/4 "2024-12-02T18:33:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dejan33](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dejan33/32/1194514_2.png) [@Dejan33](https://forums.unrealengine.com/u/Dejan33)\
**Post date:** [December 2, 2024, 6:46pm UTC](https://forums.unrealengine.com/t/how-to-make-a-standing-still-boolean/2165015/6 "2024-12-02T18:46:58Z")

</div>

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