# Getting remaining duration of Gameplay Effect

**URL:** <https://forums.unrealengine.com/t/getting-remaining-duration-of-gameplay-effect/526393>\
**Category:** Blueprint\
**Tags:** Ability-System, unreal-engine, UE5-0, question\
**Created:** [April 12, 2022, 9:57pm UTC](https://forums.unrealengine.com/t/getting-remaining-duration-of-gameplay-effect/526393 "2022-04-12T21:57:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xeph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xeph](https://forums.unrealengine.com/u/Xeph)\
**Post date:** [April 12, 2022, 9:57pm UTC](https://forums.unrealengine.com/t/getting-remaining-duration-of-gameplay-effect/526393/1 "2022-04-12T21:57:42Z")

</div>

Hello! I have created a global cooldown effect for my game and I am trying to create a UI widget that will display the remaining time of the effect once it’s applied to the character. However, I can’t seem to be able to get it. When I search for active effects with a tag the array returns empty, any ideas on how I can get this to work? I am applying this widget through an ability that looks like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/5/9157b19dca44cfe392f2b525d770821eeab56e36.png)

Here is my UI widget:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/d/18df95b748b7e4e50840619269e8119fb16ab780.png)

and here is my global cooldown effect:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/5/7b5264a6a962bea6b62bfebf25d7a209793d0a0d.png)

---

<div class="post-metadata">

**Author:** ![Xeph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xeph](https://forums.unrealengine.com/u/Xeph)\
**Post date:** [April 12, 2022, 10:55pm UTC](https://forums.unrealengine.com/t/getting-remaining-duration-of-gameplay-effect/526393/2 "2022-04-12T22:55:27Z")

</div>

So I figured it out, you have to add the gameplay tag to the “GameplayEffectsAssetTag” “Added” section

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/8/7c8224248eb4288e5a7de3fc81359ab14b7c2052.png)

---

<div class="post-metadata">

**Author:** ![Anoberia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/anoberia/32/590142_2.png) [@Anoberia](https://forums.unrealengine.com/u/Anoberia)\
**Post date:** [April 16, 2023, 8:40pm UTC](https://forums.unrealengine.com/t/getting-remaining-duration-of-gameplay-effect/526393/3 "2023-04-16T20:40:38Z")

</div>

Thanks 🙂
