# Gameplay Ability System: Having trouble making an ability that stops when input is released

**URL:** <https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381>\
**Category:** Blueprint\
**Tags:** unreal-engine, Gameplay-Ability-System, Blueprint, question\
**Created:** [May 6, 2026, 3:11pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381 "2026-05-06T15:11:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![treeese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@treeese](https://forums.unrealengine.com/u/treeese)\
**Post date:** [May 6, 2026, 3:11pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/1 "2026-05-06T15:11:27Z")

</div>

So I am trying to learn GAS and like the title says I’m trying to make an ability that fires off repeatedly when the input is held, but stops once released. Think of something like a full auto weapon, for example. I’ve managed to get the first part of things down, it repeatedly activates once I press the button, however I can’t figure out the _stopping_ part. I’ve tried using the “Wait Input Release” node but it never registers when the input is released, which I suppose makes sense since I don’t really ever remember giving it an input to monitor to begin with (or even where I could do that).

I feel like I must be close to the solution, so perhaps another set of eyes/a second opinion is all I need.

 ![BP_RoguelikePlayer_Base_EventGraph_00000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/9/5b9d73df066ad8460bf3d7134f55247556cc2d08.png)

 ![GA_Primary_Test_EventGraph_00000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/b/11bf48f31d373dbbc455e90293f0b0d550bc97cb.png)

---

<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 6, 2026, 3:28pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/2 "2026-05-06T15:28:12Z")

</div>

Maybe just call End Ability directly from Completed and Canceled pins on input event?

---

<div class="post-metadata">

**Author:** ![zeaf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zeaf/32/1108035_2.png) [@zeaf](https://forums.unrealengine.com/u/zeaf)\
**Post date:** [May 6, 2026, 5:10pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/3 "2026-05-06T17:10:19Z")

</div>

Nowadays, the common practice is to activate abilities using tags, but that is not something that is built in the engine. You can see an example of that in the Lyra project, it requires a bit of code to set up. I have extended that behavior a bit as well to support setting the tag directly in the ability tags instead of relying on AbilitySets like in Lyra to set the input tag

However, if you want to use the older approach that can easily be implemented in BP, you can do it like so:

- Create a new enum with all your ability inputs (optional, you can use plain ints if you want)
- When giving the abilities, you can specify the input id, which you can get from the enum (using the literal enum node)
- When setting up your input actions, you can now do AbilitySystemComponent-\>PressInputID and ReleaseInputID instead of try activate ability

That should correctly trigger ability activation if the ability is not active, or the WaitInputPressed task if the ability is already active, as well as WaitInputRelease

---

<div class="post-metadata">

**Author:** ![treeese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@treeese](https://forums.unrealengine.com/u/treeese)\
**Post date:** [May 6, 2026, 9:32pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/4 "2026-05-06T21:32:52Z")

</div>

How would I do that though? The End Ability node is only available within the ability itself, and I don’t have a ref to it in the player since I’m activating by tag.

---

<div class="post-metadata">

**Author:** ![treeese](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@treeese](https://forums.unrealengine.com/u/treeese)\
**Post date:** [May 6, 2026, 9:38pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/5 "2026-05-06T21:38:23Z")

</div>

> [@zeaf](#):
>
> However, if you want to use the older approach that can easily be implemented in BP, you can do it like so:
> 
> - Create a new enum with all your ability inputs (optional, you can use plain ints if you want)
> - When giving the abilities, you can specify the input id, which you can get from the enum (using the literal enum node)
> - When setting up your input actions, you can now do AbilitySystemComponent-\>PressInputID and ReleaseInputID instead of try activate ability

This worked! I’m hesitant to flag this as the solution in cast something else comes along that works better, but for the time being this does achieve what I’m looking for.

---

<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 6, 2026, 10:27pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/6 "2026-05-06T22:27:48Z")

</div>

Oh yea, I guess it is protected. and couldn’t really even be cast to reliably. Sorry. I’ve never really used GAS. Unless you want to do some C++ code, Zeaf’s post sounds like the solution.

---

<div class="post-metadata">

**Author:** ![zeaf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zeaf/32/1108035_2.png) [@zeaf](https://forums.unrealengine.com/u/zeaf)\
**Post date:** [May 6, 2026, 10:31pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/7 "2026-05-06T22:31:43Z")

</div>

Also an added tip, timers are automatically stopped when abilities end (unless overridden in C++ or if `AbilitySystem.ClearAbilityTimers` is set to false)

Same with all AbilityTasks

But not AbilityAsync tasks or other latent actions, such as Delays

---

<div class="post-metadata">

**Author:** ![Vahab](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vahab/32/1148756_2.png) [@Vahab](https://forums.unrealengine.com/u/Vahab)\
**Post date:** [May 7, 2026, 8:36pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-having-trouble-making-an-ability-that-stops-when-input-is-released/2720381/8 "2026-05-07T20:36:53Z")

</div>

You just need to check `Test Already Released `In the **Wait Input Release** node, However, I recommend using the Wait Delay Task instead of a timer within an ability. This would look something like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/9/e09d5b8182fefbc6bb40c6c08669a1a54fc5485f.png)
