# Blueprint Weapon System

**URL:** <https://forums.unrealengine.com/t/blueprint-weapon-system/1298780>\
**Category:** Programming & Scripting\
**Tags:** weapon-system, unreal-engine, Widget, question, Blueprint\
**Created:** [September 16, 2023, 2:09pm UTC](https://forums.unrealengine.com/t/blueprint-weapon-system/1298780 "2023-09-16T14:09:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmet-im](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ahmet-im](https://forums.unrealengine.com/u/Ahmet-im)\
**Post date:** [September 16, 2023, 2:09pm UTC](https://forums.unrealengine.com/t/blueprint-weapon-system/1298780/1 "2023-09-16T14:09:35Z")

</div>

Hello: I have a problem with the weapons system.  
when I press the aim button. The weapon is in aiming position but when the button escapes. The character does not return to his normal position until after I press again on the aim button, meaning when I press the aim button, the character is in the aiming position, and when I press again, The character return to his normal position. What I want is when I press I am on the aiming position and when I release the button I go back to normal position.

---

<div class="post-metadata">

**Author:** ![Shunitzo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shunitzo/32/1194547_2.png) [@Shunitzo](https://forums.unrealengine.com/u/Shunitzo)\
**Post date:** [September 16, 2023, 3:09pm UTC](https://forums.unrealengine.com/t/blueprint-weapon-system/1298780/2 "2023-09-16T15:09:54Z")

</div>

You need to show your code for pressing the button.

---

<div class="post-metadata">

**Author:** ![gardian206](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gardian206](https://forums.unrealengine.com/u/gardian206)\
**Post date:** [September 16, 2023, 7:27pm UTC](https://forums.unrealengine.com/t/blueprint-weapon-system/1298780/3 "2023-09-16T19:27:43Z")

</div>

are you using Enhanced Input Subsystem, or the Project Settings method (completely removed int UE5.2)? in both methods there is a blueprint Exec pin for “released” (with Enhanced Input Subsystem it would probably be “completed”) are you sure that line is being triggered with like a “`PrintString()`” node

what do you mean by “weapon is in aiming position” is this an animation, a transform manipulation, or something else? for Animations how are you playing it `PlayAnimMontage()` or `PlayMontage()` or are you using some other method to animate? is this animation set to Loop because you might need to stop the loop.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 16, 2023, 7:28pm UTC](https://forums.unrealengine.com/t/blueprint-weapon-system/1298780/4 "2023-10-16T19:28:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
