How to add an item to the front of inventory

How do I specify which tool slot I want the item added to be in? Right now I’m just cloning the item and setting the parent to the player’s backpack. Is there a way to do this without removing and re-adding all of the other items?

1 Like

I don’t think this is possible, sadly.
The backpack is locked to the order of it’s children iirc.

A feature request was submitted for this 3 years ago, however things may have changed in the meantime.

2 Likes

Dang, that’s unfortunate. So would it work if I deleted all of the items then added the tool I want then added all of them back quickly?

You could do that.
Personally I’d go for a custom backpack using StarterGUI:SetCoreGuiEnabled. I’ve linked a tutorial below:

hth!

1 Like

Thank you, I’ll check go and check it out.