# How do I ignore input for a specific peroid of time?

**URL:** <https://forums.unrealengine.com/t/how-do-i-ignore-input-for-a-specific-peroid-of-time/347282>\
**Category:** Character & Animation\
**Tags:** ignore, unreal-engine, question\
**Created:** [February 12, 2016, 7:41pm UTC](https://forums.unrealengine.com/t/how-do-i-ignore-input-for-a-specific-peroid-of-time/347282 "2016-02-12T19:41:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c174969f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c174969f](https://forums.unrealengine.com/u/anonymous_user_c174969f)\
**Post date:** [February 12, 2016, 7:41pm UTC](https://forums.unrealengine.com/t/how-do-i-ignore-input-for-a-specific-peroid-of-time/347282/1 "2016-02-12T19:41:58Z")

</div>

So I want the game to ignore any input by player when an attack animation is playing. How do I achieve that?

---

<div class="post-metadata">

**Author:** ![Overwatch04](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Overwatch04](https://forums.unrealengine.com/u/Overwatch04)\
**Post date:** [February 13, 2016, 4:51am UTC](https://forums.unrealengine.com/t/how-do-i-ignore-input-for-a-specific-peroid-of-time/347282/2 "2016-02-13T04:51:33Z")

</div>

Without having the editor open I cannot test this but you may be able to go to the blueprint executing the animation and get a reference to the player controller and then drag off of that and place a “DisableInput” node. When your animation is done you can use “EnableInput”. Just a guess, hope it works!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c174969f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c174969f](https://forums.unrealengine.com/u/anonymous_user_c174969f)\
**Post date:** [February 13, 2016, 7:12pm UTC](https://forums.unrealengine.com/t/how-do-i-ignore-input-for-a-specific-peroid-of-time/347282/3 "2016-02-13T19:12:28Z")

</div>

Well, I forgot to mention something. I am doing a combo system, so I still need to detect input during the attack animation. If I do disable input, the combo just stops at 1, because obviously there is no input. I just need to take in the input, but not play the attack 2 animation until attack 1 is done.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7f57965b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7f57965b](https://forums.unrealengine.com/u/anonymous_user_7f57965b)\
**Post date:** [December 17, 2017, 8:38am UTC](https://forums.unrealengine.com/t/how-do-i-ignore-input-for-a-specific-peroid-of-time/347282/4 "2017-12-17T08:38:47Z")

</div>

I got same question here.

---

<div class="post-metadata">

**Author:** ![Lamaral14](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lamaral14](https://forums.unrealengine.com/u/Lamaral14)\
**Post date:** [July 29, 2021, 5:51pm UTC](https://forums.unrealengine.com/t/how-do-i-ignore-input-for-a-specific-peroid-of-time/347282/5 "2021-07-29T17:51:52Z")

</div>

That doesnt work for me because the program still listens the input even if its disable, do you know some method to the program stops listening tho the inputs?
