# Need help creating a delay that cancels Input Action Fire (Blueprint FPS template)

**URL:** <https://forums.unrealengine.com/t/need-help-creating-a-delay-that-cancels-input-action-fire-blueprint-fps-template/1267>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [March 28, 2014, 8:08pm UTC](https://forums.unrealengine.com/t/need-help-creating-a-delay-that-cancels-input-action-fire-blueprint-fps-template/1267 "2014-03-28T20:08:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MattD](https://forums.unrealengine.com/u/MattD)\
**Post date:** [March 28, 2014, 8:08pm UTC](https://forums.unrealengine.com/t/need-help-creating-a-delay-that-cancels-input-action-fire-blueprint-fps-template/1267/1 "2014-03-28T20:08:24Z")

</div>

Sorry the title is wrong, it should be “**Need help creating a delay that ENABLES Input Action Fire (Blueprint FPS template)**”

I’m having trouble wrapping my head around how I’d add a delay that enables Input Action Fire in the fps template. Essentially, I’m trying to make it so that if Input Action Fire isn’t held down long enough (say 0.5 seconds), the projectile won’t fire when the button is released. I’m guessing I need to add some kind of branching true/false statement to the Release pin in the Input Action Fire node but I’m not entirely sure how to hook all that up.

[![](https://dl.dropboxusercontent.com/s/j08bve1rfwfc7hj/input.jpg) ](https://dl.dropboxusercontent.com/s/j08bve1rfwfc7hj/input.jpg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_635a49ed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_635a49ed](https://forums.unrealengine.com/u/anonymous_user_635a49ed)\
**Post date:** [March 28, 2014, 9:09pm UTC](https://forums.unrealengine.com/t/need-help-creating-a-delay-that-cancels-input-action-fire-blueprint-fps-template/1267/2 "2014-03-28T21:09:56Z")

</div>

Here’s a simplified example. I’m sure there’s a more elegant way, but this worked for me:

## ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/6/f46d1c4318f4e72b748a5c94bf18afba1d01fbe9.jpeg)

---

<div class="post-metadata">

**Author:** ![MattD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MattD](https://forums.unrealengine.com/u/MattD)\
**Post date:** [March 28, 2014, 9:29pm UTC](https://forums.unrealengine.com/t/need-help-creating-a-delay-that-cancels-input-action-fire-blueprint-fps-template/1267/3 "2014-03-28T21:29:56Z")

</div>

Ah thanks, that worked.
