Reset a UMG widget
I have a umg widget with the main menu for my game. When you open it, you'll see options: Continue, Exit (yes, that simple). When you hover over an item - it slightly increases its width, and when you hover out - decreases. All it's done by means of animations.
Now, when you click on Continue - the widget disappears and you continue to play the game. BUT, when you summon the menu back - it will show up with Continue button with increased width. This is due to the fact, that reverse animation hasn't played back and the button in its
Now the question: how do I reset the widget, so when I open it again, the buttons would be in their initial states? For now, I think I can create a widget each time, a user pressed
asked Aug 13 '19 at 06:56 AM in Blueprint Scripting
This, sort of, works. Don't really like it - offset is hardcoded.
answered Aug 13 '19 at 09:38 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here