GUI window is always under other GUI elements

Hi,
i created GUI layout windows. and then made them draggable. However, they are always rendered under other GUI elements so they are always covered.

It looks kinda weird because the function calling the GUI layout window is called last in the OnGUI function. Tried playing with depth values, too. but no avail.

Can somebody help me with this? thanks

April,

I believe you can set a GUI element (as well as anything from what I understand) in a different layer to make it higher on the pecking order in the display list? Hope this helps I’m no pro but I do know a little about this cool app :wink: Let me know if this helps!

Are you using GUIText or GUITexture elements? Would you mind posting the code for your OnGUI section so we can take a look?

Have you tried the bringWindowToFront function?