Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | jslater89 | |
Old Version | Published before Godot 3 was released. |
I’m designing a fairly complicated wargame in Godot, and one of the things the genre usually requires is nested popups. Here’s my situation:
- I have a scene which is used for designing an aircraft carrier.
- That scene has an exclusive popup which is used to select the quantities of aircraft making up the carrier’s air wing.
- That popup has an exclusive popup as a child, which is used to select the type of aircraft.
When both popups are showing, clicks on the top popup are delivered to the popup beneath, if there’s a component on the popup beneath which can receive clicks. Is that expected behavior? If so, how can I work around it?
Are you sure that stop mouse is true on the popups?
Also, try doing this, get_parent().move_child(self,get_parent().get_child_count())
or get_parent().move_child(self,0)
which ever works.
Jatz | 2016-11-29 08:19