A Drag-and-Drop style like in Video Games

I need help with my project.

I’m trying to make a Drag-and-Drop to assign devices to specific positions or cells.

I researched about this but most are Kanban style or drag-and-drop files, which I tried when learning Vue.

when I tried my problem, I couldn’t pull it off or maybe I still lack knowledge of this.

I wanna try this before doing other approaches like Dropdown or modal/popup assignment.

Thank you in advance for the help and insights.

I have an image for visualization. https://imgur.com/a/tAyygBl