Im trying to achieve something I couldnt find in tutorials, or that anybody has done before - hence im looking for ideas to make this…
to make it simply:
I just want a window, in which I can add “X” icon (example, a blue square) that when I mouse-down that square I can move it inside the window (draggable in other words). When I mouse-up, the new location of the blue square is set. Please note this is NOT a drag and drop inventory with grid. I want it without grid, in which the icons will have “X” coordinate inside the window to save the location.
Besides that, I dont know if this is possible, but I want not only squared icons to be moveble, but ore like if I have a “weapon” icon (transparent background) I can set that weapon icon and i would be able to move only the weapon icon itself (not including the transparent area).
Thanks for any ideas on this!