Making custom inventory system

Hey, I’m trying to make a custom inventory system in my game and I’m trying to make it that the player can drag and drop the slot (the item) to another slot which will swap the slots, but I’m struggling to make the script, I’m using UIGridLayout to sort the slots of inventory here how I did it

Screenshot_2

can anyone give me an idea of how can I swap between the two slots

here is an example of what I’m trying to do, this example from the game Fishing Simulator:
robloxapp-20200730-2207436

1 Like

This previous thread I solved pretty much walks you through it: Draggable UI disappearing - #9 by NinjoOnline

2 Likes