# Enhanced Input Question

**URL:** <https://forums.unrealengine.com/t/enhanced-input-question/2718732>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [April 29, 2026, 4:15am UTC](https://forums.unrealengine.com/t/enhanced-input-question/2718732 "2026-04-29T04:15:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitrox32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nitrox32](https://forums.unrealengine.com/u/Nitrox32)\
**Post date:** [April 29, 2026, 4:15am UTC](https://forums.unrealengine.com/t/enhanced-input-question/2718732/1 "2026-04-29T04:15:08Z")

</div>

I’m trying to set up a weapon system where the left mouse button fires the weapon for single, semi, and automatic fire depending on which weapon is equipped. I actually have a system that works but I’d like to make it more efficient if I could. Currently, when the left mouse button is pressed it calls a custom function that selects the firing mode based on an enum associated with the weapon. The single and semi fire work fine this way, but the automatic works by using a timer on a loop that turns off when the button is released. This works, but is there a better way of using the Enhanced Input system for this to get rid of the timer? I’ve tried changing the mouse button to Hold and Release and changing the pin to Ongoing and rid of the timer but then it causes the semi, and single shot to repeatedly fire. Any help would be appreciated. This is what my input looks like:

 ![Screenshot 2026-04-29 000710](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/5/ca53ee9ec416e0a8d15ab5623e2ed0e859c770b1.png)

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [April 30, 2026, 8:31am UTC](https://forums.unrealengine.com/t/enhanced-input-question/2718732/2 "2026-04-30T08:31:53Z")

</div>

If it works it’s good but if you intended to expand the system then there are 2 good options.

Move the logic to the item/weapon itself. This scales better if say you next add melee weapons, combos, items like potions etc.

Really advanced, move the logic to its own class. Basically similar to GAS where each class is an ability

---

<div class="post-metadata">

**Author:** ![Nitrox32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nitrox32](https://forums.unrealengine.com/u/Nitrox32)\
**Post date:** [May 1, 2026, 5:17pm UTC](https://forums.unrealengine.com/t/enhanced-input-question/2718732/3 "2026-05-01T17:17:07Z")

</div>

What I have works as intended. I just didn’t know if the enhanced input system offered a more efficient way of doing the same thing. Thanks for the response.

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [May 1, 2026, 9:44pm UTC](https://forums.unrealengine.com/t/enhanced-input-question/2718732/4 "2026-05-01T21:44:11Z")

</div>

![SelectFire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/8/708961b2e4700c6f9c629b844d44697d1b5a1033.jpeg)

ShootStart there is called by my enhanced input started event, and EndShoot is called by the completed or canceled pin.

The gun logic (anim, sound, traces, etc..) are in teh ShootNow func.

---

<div class="post-metadata">

**Author:** ![Nitrox32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nitrox32](https://forums.unrealengine.com/u/Nitrox32)\
**Post date:** [May 1, 2026, 10:55pm UTC](https://forums.unrealengine.com/t/enhanced-input-question/2718732/5 "2026-05-01T22:55:42Z")

</div>

Yep, that’s about what mine looks like minus camera shakes, vfx, sound, etc. Thanks for posting the pic, I’m still new to Unreal and it’s nice to know I’m on the right track.
