So I’m trying to make a script so when an item is equipped, that item becomes 1st in the order until it is unequipped. I was wondering if there is a way to achieve this, if there is please let me know where to get started with it.
Yes, GUI objects have a property called LayoutOrder
that can be used by UIGridLayout if it’s SortOrder
property is set to LayoutOrder
. You can change selected item’s LayoutOrder
to 1 and change it back to original when it’s unequipped:
1 Like
Ok then, I’ll go and try it. Thanks for answering