Why can't the UI drawn later cover the UI drawn earlier?

Godot Version

4.2.2 stable

Question


I have a plane draw below a label and plane is opaque (alpha=1), why the label can show? I want to hide label behind the plane, How can I do?

If it’s a panel you could use a custom design in the theme overrides to set it’s alpha to none transparent.

The plane needs to have a higher Z Index than the label.

That’s right. But I think the text is rendered below the plane. Since the default text’s color is white I assume it is displayed as a grayish tone because the plane is actually transparent.
So the alpha value of the planes color has to be changed.