I’ve got several widgets for a menu system and I want all the buttons to animate on and off the screen when an option is selected. This would probably be easier to program if all the menus were in a single widget but then that makes the design part too complex, so they’re all separate widgets for each level of the menu.
How do I tell one widget to play the animation which brings it on screen, when another widget plays it’s animation to take it off screen?
I’ve created the animations, and I can make them animate off the screen when a button is pressed. I just don’t know how to tell them to animate back onto the screen from the other widget - at the moment they just appear using the ‘Create Widget’ and ‘Add to Viewport’ nodes.
So Widget ‘A’ is on screen, an option is selected and Widget ‘A’ animates all the buttons off screen and is then removed. At the same time Widget ‘B’ plays it’s animation to bring its buttons on to the screen. This can continue through Widget ‘C/D/Etc’ or back to ‘A’.