Hello! I am trying to make a main menu with animation transitions, where buttons slide in and out of the menu when needed. I am switching between vertical boxes within my main menu widget using a widget switcher, and then playing the slide in/out animation.
However, I have noticed an issue with this as the widget appears briefly before the sliding in animation plays. I assume this is because the game is quickly switching to the vertical box via the widget switcher index changing, and then the animation is playing. I am not sure how to combat this though - I have tried adding a small delay between the widget switcher index changing and the animation, but this didn’t work. I also tried setting the visibility of the animation to be hidden whilst the widget switcher changes the index, but this also didn’t work. I have noticed though that when attempting to load the menu a second time, the animation runs normally - so maybe there is an issue with the widget rendering weirdly as it is its first time rendering when the button is first pressed? If anyone has any ideas as to what could be going wrong here, it would be great to get some feedback - thank you!
(The widget is supposed to animate the second time I pressed the how to play button)
The blueprint for when the how to play button is pressed