This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hi, I have three nodes, each with a popup. Signals can trigger the popups in any order. I find that even when called with popup_centered some of the popups render behind the others.

Even if I re-order the nodes so that the popup parent node is higher or lower in the tree than the other popup parent nodes the original behaviour persists.

What are the rules for multiple exclusive popups? Is there a way to force the latest popup_centered to appear on top?

To summarise: I would like a call to popup to put the latest popup on top no matter what other popups are active.

Godot version 3.4.x
in Engine by (210 points)
edited by

Why does your project have multiple pop-ups?

A custom dialog popup for a date selector, then a confirmation popup to confirm selection, then a warning popup that it will overwrite an existing request.

1 Answer

0 votes

This is late but you could try changing the z-index of the latest popup to a higher number with something like:

z_index = 50

or any other higher number

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.