Issue with DirectGUI layer. Please help me

I have a problem with DirectGUI layer.

I created some actors’ HUD with DirectFrame. on game start they display as I expect
But when I regenerate the actors, their HUD overlap on earlier GUI which I created

Is there any way to change/adjust GUI layer to make it be behind some GUI which I want ?

I have attach a photo of issue that express. may it can explain you more detail.

Thank you


update

I try adding them a parent which first created in the game. but it can’t fix the issue.

You can use fixed, rendering sort.

https://docs.panda3d.org/1.10/python/programming/rendering-process/controlling-render-order#how-to-control-render-order

1 Like

Thank you so much. now I can manage them.

but GUIs that I created are so many. I have to take for awhile to group them.