Detect if item is being dragged from hotbar

What I basically want to make is a drag and drop system. With the original roblox components (Meaning Hotbar/Backpack).

Problem is how would I even detect if something is being moved out of the hotbar.
2nd Problem even if I can detect the movement is there a way to read the position of the dragged item?

Really would like to use the roblox system and not a custom gui system (I know it would be easier).

Anyone got any ideas? A docu link would be nice, if one exists…

I Think I might have a solution already.
Still willing to hear of any other suggestions.

I will just access CoreGUI and try detecting the attributes/elements of the hotbar.

Got a solution. I will just track the CoreGui elements:

Sorta helped me to come to the solution. If anyone needs it:

https://create.roblox.com/docs/reference/engine/classes/GuiObject
https://create.roblox.com/docs/reference/engine/classes/CoreGui

Sorta basic don’t know how I did not think of it :confused:

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