UI Display Order Problems

Hello!
I’m currently finish with the UI But there is still one problem
The Inventory collide a Achievement Button and we can see both of them and it is so annoying
If you don’t get what I’m saying, here’s the video:

I dont know about UI a lot so please help me!

Thanks :slight_smile:

Hey there @bookgamery555gta , I’ve run into this problem a few times myself and it can usually be solved pretty easily.

Try setting inventory’s zindex property at something like 3, 5, or higher, the issue here is that your achievement button zindex is currently equal too or higher than the inventory page’s zindex value.

1 Like

But if I set it. How can I make a Achievement button become not visible?

Set the inventory’s zindex to a number above the achievement button zindex

1 Like

3 possibile solutions:

  1. use achievementsButton.Visible = false;
  2. set the inventory’s ZIndex to a higher value than the achievements button’s one for the inventory frame (and all its descendants)
  3. studio puts in first plan the last object added to an instance so cut the inventory frame and then paste it back
2 Likes

you can change zindex as some have said or change LayouOrder in the ScreenGui

1 Like

I recommend increasing the zindex

1 Like

I think i wrote some code to make a gui it self have 9999 displayorders. When they click back it make it left to 3. Thank you all for coming to help me!

  1. mark this topic solved. (It has been 2 years)
  2. this is a copyright strike waiting to happen lol
1 Like