Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can i keep a Gui frame/button always above the other Guis?

So i have a draggable Box, in my Gui but when i drag it across the other Gui elements it goes behind them and not above them, how can i make it so this Box that i am dragging is always above the Gui's?

1 answer

✓ Accepted answer

I misunderstood this when I first read it but it's actually really simple! You can start by changing the ZIndex of the UIs. Let's create a scenario. You have 2 UIs, an image and some text. You want the text to be in front of the image? You would set the image ZIndex to 2 and the textLabel ZIndex to 1. Because it's 1 it will be the highest priority.

This discussion is preserved as it was. New answers, comments, and votes are closed.