# Crouch Button

**URL:** <https://forums.unrealengine.com/t/crouch-button/433388>\
**Category:** Blueprint\
**Tags:** sprint, crouch, jump, unreal-engine, UE4, Blueprint, question\
**Created:** [September 7, 2018, 5:51pm UTC](https://forums.unrealengine.com/t/crouch-button/433388 "2018-09-07T17:51:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tsybe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tsybe/32/590281_2.png) [@Tsybe](https://forums.unrealengine.com/u/Tsybe)\
**Post date:** [September 7, 2018, 5:51pm UTC](https://forums.unrealengine.com/t/crouch-button/433388/1 "2018-09-07T17:51:04Z")

</div>

When i press the crouch button my character is crouched if i press a Sprint button or the Jump button the character is uncrouched, but when i trying to crouch again i need to press the crouch button two times. How can i set to only one time i need to press button?

 ![253054-crouch.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/9/c39827a87f9e2a7f319ae410faa57595c3673bde.png)

* * *

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [September 7, 2018, 6:09pm UTC](https://forums.unrealengine.com/t/crouch-button/433388/2 "2018-09-07T18:09:56Z")

</div>

I think it could be because of the Flipflop. Which way it goes, crouch ir uncrouch, relies on the crouch button being pressed, but nothing tells it whether you are already crouched, only whether it’s flip or flop.

But you have other actions uncrouching while it’s still waiting for a flipto uncrouch. so you have to press crouch button twice after another action uncrouches because the first time uncrouches when youre already uncrouched (flip) and the second one is the flop that crouches.

To fix this you need to replace the flipflop with a branch on Iscrouched.

---

<div class="post-metadata">

**Author:** ![Tsybe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tsybe/32/590281_2.png) [@Tsybe](https://forums.unrealengine.com/u/Tsybe)\
**Post date:** [September 7, 2018, 7:25pm UTC](https://forums.unrealengine.com/t/crouch-button/433388/3 "2018-09-07T19:25:32Z")

</div>

This isn’t working, but may i screwed up something. Any other way to the problem?

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [September 7, 2018, 10:27pm UTC](https://forums.unrealengine.com/t/crouch-button/433388/4 "2018-09-07T22:27:08Z")

</div>

are you using the right is crouched? theres one built into the engine that you want to be using since it will communicate with the built in crouch uncrouch nodes.

 ![253060-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/6/4c6a3db6150fc6c3ba74f25f9f3ec5a35aa02e7d.png)

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [September 8, 2018, 2:55am UTC](https://forums.unrealengine.com/t/crouch-button/433388/5 "2018-09-08T02:55:41Z")

</div>

I actually didn’t know there was a built in uncrouched bool haha 🙂
