# Is there a way to toggle widget animations?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-toggle-widget-animations/485498>\
**Category:** Character & Animation\
**Tags:** fade-in, unreal-engine, Widget, question\
**Created:** [June 30, 2021, 12:56pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-toggle-widget-animations/485498 "2021-06-30T12:56:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr\_Ninator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr\_Ninator](https://forums.unrealengine.com/u/Dr_Ninator)\
**Post date:** [June 30, 2021, 12:56pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-toggle-widget-animations/485498/1 "2021-06-30T12:56:06Z")

</div>

So when I press the shift key a stamina progress bar should fade in and when I release the key it should fade out. My question is if there is a way to toggle the animation so that it is reverse and fades out seamlessly, when you stop pressing the key

Thanks to everyone who responds
