OK guys. Question. I have created a nav bar with 6 buttons running horizontally across the bottom. I built them so that when I click on them other buttons rise from them and then the stage fills with whatever elements are associated with the button pushed. What I am wanting to do is:
when I click on another button I want to reverse the actions on the stage (like create an exit screen when another button is selected) and have the buttons of the “active” button retreat back down before the action of the most recent button clicked on does it’s thing.
So:
If button (1) is active with 4 child buttons above it and I click on button (5) I would like the four child buttons above the parent button (1) to retreat back down
Then the 4 child buttons of parent button (5) will rise up.
But if I click on button (5) how will it know that button (1) is active and not 2 or 3 or 4… and so forth and so on. There must be an easy way to do this because I see it quite often, I just am not advanced enough yet to know.