Hello all, hope I'm posting in the right session. My Popup Menu is being draw behind of sprites and Containers(with Labels) with Z_index bigger than Zero.
From what I understood others Controls inherent certain 'features' from its parent. Like a VBoxContainer child of a Node2D will render at the z_index of its parent, and the Anchor (0, 0, 0, 0) is relative to the parent position. However this don't seem to be the case for Popups?
I'm creating a Card Game and on start the game instantiate a Card scene in the battlefield. This card node is set to z_index = 2, so it renders above everything else despite tree order. This Card scene has a popup menu that appears when you click on the card. The problem as far as I know is that the popup (Control Node) render in the z_index = 0 and goes behind the card itself (Kinematic body) that is in the z_index = 2. If I set the Card to z_index 0 the popup appears on top, but I can't render everything at index 0.
How to make a popup appears at top of everything else? Here some screenshots of what it looks like, and of the tree at runtime.