# UMG Initial Animation

**URL:** <https://forums.unrealengine.com/t/umg-initial-animation/374823>\
**Category:** UI\
**Tags:** fade-in, unreal-engine, question, UMG\
**Created:** [October 29, 2016, 4:30pm UTC](https://forums.unrealengine.com/t/umg-initial-animation/374823 "2016-10-29T16:30:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rckt26](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rckt26](https://forums.unrealengine.com/u/rckt26)\
**Post date:** [October 29, 2016, 4:30pm UTC](https://forums.unrealengine.com/t/umg-initial-animation/374823/1 "2016-10-29T16:30:29Z")

</div>

I set the animation for a widget to fade everything in by setting the alpha to 0 moving up to 1. The problem is the whole widget shows before the animation is played. The animation is connected to the event construct. I couldn’t find any other settings so I assume this is a bug but maybe I’m missing something. The problem occurs when playing in the editor and on iOS devices. Here is a capture of what I’m talking about:

[https://dl.dropboxusercontent.com/s/s18ew3rr8ymkgjz/umg-bug.mov?dl=0](https://dl.dropboxusercontent.com/s/s18ew3rr8ymkgjz/umg-bug.mov?dl=0)

---

<div class="post-metadata">

**Author:** ![MajinSephiroth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MajinSephiroth](https://forums.unrealengine.com/u/MajinSephiroth)\
**Post date:** [October 29, 2016, 5:10pm UTC](https://forums.unrealengine.com/t/umg-initial-animation/374823/2 "2016-10-29T17:10:26Z")

</div>

Two things could be happening.

1. Your animation actually starts the first frame with alpha at 1. Check through your animation frames to make sure the alpha is proper from start to finish.

2. Your widget alpha is at 1 by default. If you disconnect the animation from your begin play and you see the widget, that’s the problem. By default your widget should have an alpha of 0, that way it doesn’t show when the transition happens.

---

<div class="post-metadata">

**Author:** ![rckt26](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rckt26](https://forums.unrealengine.com/u/rckt26)\
**Post date:** [October 29, 2016, 7:24pm UTC](https://forums.unrealengine.com/t/umg-initial-animation/374823/3 "2016-10-29T19:24:10Z")

</div>

Thanks that was a little confusing. The alpha was at 0 for everything on the first frame and if I disconnected the animation all the widgets did show. So I had to deselect the animation then I was able to see all the values of alpha were at 1.

---

<div class="post-metadata">

**Author:** ![MajinSephiroth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MajinSephiroth](https://forums.unrealengine.com/u/MajinSephiroth)\
**Post date:** [October 29, 2016, 9:47pm UTC](https://forums.unrealengine.com/t/umg-initial-animation/374823/4 "2016-10-29T21:47:46Z")

</div>

Glad it solved your issue, please mark this as completed so that others may find the same answer 🙂

---

<div class="post-metadata">

**Author:** ![douglaslassance](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/douglaslassance/32/1210436_2.png) [@douglaslassance](https://forums.unrealengine.com/u/douglaslassance)\
**Post date:** [November 2, 2022, 7:44am UTC](https://forums.unrealengine.com/t/umg-initial-animation/374823/5 "2022-11-02T07:44:32Z")

</div>

As far as I am concerned, having everything hidden by default on the widget is not satisfactory as it makes editing more complicated than it should be.

I’m a little bummed that calling `Play Animation` when constructing does not render the first frame of that animation immediately, that said I have an acceptable workaround by sandwiching it between two `Set Visibility` calls.

 ![2022-11-02-00-36-59](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/5/e0522cd41251a1ff70f0c5226fa1e61f4cb83dae.png)
