I want to make a deck of GUI cards appear on screen, stacked on top of each other.
But what if the amount of cards in one place is more than 10? How do I deal with this?
I want to make a deck of GUI cards appear on screen, stacked on top of each other.
But what if the amount of cards in one place is more than 10? How do I deal with this?
Unfortunately, ZIndices can only be 1-10. I think that the solution to your problem might be creating the cards in order of how you want them to be displayed. Each card you create will be placed on top of the last one created.
But what if I were to move one on top of another?
@randomsmileyface If you don't use ZIndices at all and rely entirely on creation time, you can use ZIndices to move cards on top of each other after creation.
The max value for the ZIndex property of a GuiObject is 10, if you go over 10, the ZIndex property will automatically set the value to 10.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
You can't I believe ZIndex max is 10.
It is, but I believe there was another way of making it sort GUI's at the same level