# Widget animation reverse with trigger box

**URL:** <https://forums.unrealengine.com/t/widget-animation-reverse-with-trigger-box/464305>\
**Category:** UI\
**Tags:** reverse, trigger, unreal-engine, Widget, Blueprint, question\
**Created:** [April 27, 2020, 1:37am UTC](https://forums.unrealengine.com/t/widget-animation-reverse-with-trigger-box/464305 "2020-04-27T01:37:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NxelScar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nxelscar/32/626027_2.png) [@NxelScar](https://forums.unrealengine.com/u/NxelScar)\
**Post date:** [April 27, 2020, 1:37am UTC](https://forums.unrealengine.com/t/widget-animation-reverse-with-trigger-box/464305/1 "2020-04-27T01:37:59Z")

</div>

Hi,

I have created a widget animation that when entering with the character in a trigger box reproduces it without problems. The problem is that I can’t find a way to reproduce the reverse when the character exits the trigger box.

I hope I have explained myself and that someone knows how to help me,

Thanks for reading me!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 27, 2020, 7:43am UTC](https://forums.unrealengine.com/t/widget-animation-reverse-with-trigger-box/464305/2 "2020-04-27T07:43:03Z")

</div>

> The problem is that I can’t find a way  
> to reproduce the reverse when the  
> character exits the trigger box.

Not sure what is stopping you from doing that. You’d use an identical method to call both. Show us how you approached it.

---

<div class="post-metadata">

**Author:** ![ViceVersa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ViceVersa](https://forums.unrealengine.com/u/ViceVersa)\
**Post date:** [April 27, 2020, 2:50pm UTC](https://forums.unrealengine.com/t/widget-animation-reverse-with-trigger-box/464305/3 "2020-04-27T14:50:37Z")

</div>

in the “triggerbox” blueprint \> OnComponentEndOverlap Event \> Call a custom event in the widget

In the Widgets Custom Event \> Play Animation \> Reverse

its a little weird but the reverse node actually goes after the play node

hope that helped!

---

<div class="post-metadata">

**Author:** ![NxelScar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nxelscar/32/626027_2.png) [@NxelScar](https://forums.unrealengine.com/u/NxelScar)\
**Post date:** [April 27, 2020, 4:33pm UTC](https://forums.unrealengine.com/t/widget-animation-reverse-with-trigger-box/464305/4 "2020-04-27T16:33:13Z")

</div>

Of course!

In this case I am using the widget to warn the user that in that area you can activate “e” key to focus a video and during the video display you can stop focusing if you press “e” key again (a new widget appears to warn from this).

I explain what I have:

· (1 and 3) The character enters the trigger box and the widget appears with its respective animation, but if it exits the trigger, the widget simply disappears (I can’t figure out how to execute the reverse when I exit the trigger (this is my doubt))

· (2) If the character activates “e” key the view changes to a camera. So the old widget is no longer visible and a new widget appears, which when you press “e” key, also disappears.

· (4) Animation runs inside the widget.

Images:

(0) [https://i.imgur.com/cAkT0Lc.png](https://i.imgur.com/cAkT0Lc.png)

(1) [https://i.imgur.com/OoiuVYw.png](https://i.imgur.com/OoiuVYw.png)

(2) [https://i.imgur.com/rk9I28j.png](https://i.imgur.com/rk9I28j.png)

(3) [https://i.imgur.com/oCO9e8A.png](https://i.imgur.com/oCO9e8A.png)

(4) [https://i.imgur.com/XnT06Jg.png](https://i.imgur.com/XnT06Jg.png)

---

<div class="post-metadata">

**Author:** ![NxelScar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nxelscar/32/626027_2.png) [@NxelScar](https://forums.unrealengine.com/u/NxelScar)\
**Post date:** [April 27, 2020, 4:38pm UTC](https://forums.unrealengine.com/t/widget-animation-reverse-with-trigger-box/464305/5 "2020-04-27T16:38:43Z")

</div>

That was the first thing I tried, but I am unable to find the “custom event” inside the blueprint

Widget:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/6/3369a6beec8aa9e74c1e255c43c0b284c1f54ca3.png)

Blueprint:

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/0/8f091bd44d1bb00dc165c6355c2ab3e795a9222f.png)

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/2/222641f5a781ee5a769c4a5ffadae05046ee559d.png)
