How could I make a filter for UI? (Similar to Assassin and Mining Simulator)

I want to make a filter to organize my buttons (UI), but I have no clue where to even begin with or what to exactly do.

Something similar to this:
Assassin
image

Mining Simulator

Did anyone do something like that?
Is there a tutorial/post about it?

Thank you

Heres one idea: for whatever item you want to be filtered give it a stat. So if your trying to filter pets, when you make the pat give it a stat named small, big, ect. Whenever the player checks a box that is the same then hide every other GUI. If thats what you were asking for then i hope that helped!

oops i didnt mean to delete that lol

I was trying to get more like an organizing filter instead. Basically, I would click By Highest, then the highest rarity items would be on the top, then the less valuable items, and so on.

Filter it by Alphabetical order for example too

I don’t want to hide items, I want to organize it

Thank you for the idea tho

There is a property called LayoutOrder under UI elements which determines the placement of the element in the effect of UIListLayout, UIGridLayout, etc.

You can make things sort alphabetically using a property inside UILayouts.

2 Likes

Thank you

I can only see Alphabetical and LayoutOrder?
But do I customize the layout order to sort the buttons by rarity for example? Or Inverse Alphabetical order?
Basically, is there a way to customize the layout order?
Is there a tutorial somewhere about that? Or documentation about LayoutOrder

Thank you again

It’s a number describing where it appears in the list.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.