I would like to sort two UI(.gui) object (SOLVED)

Hi…

I am using two .gui in one collection.
and I would like to sort they.

I tried, but I did not get results.

Is it possible?

I would like to sort ‘ui’ and ‘uiPage’.

thank you.

Z value of position dose not work.

Try gui.set_render_order

Yes, gui.set_render_order() will allow you to define where in a list of 15(?) different “slots/layers” your gui should be rendered.

wow, thank you very much!
^^

Yes, the GUI components are completely ignoring the z-order and by default the gui is rendered in a separate pass in the render script.

yes, thank you. I see. ^^