So i have set drag and drop functions, but when i drag and drop object to same object, they just two stay there, what i want is to make recent placed object to be placed on free spot, not on top of it.
You may need to change the visibility of the old one, or physically change it's position to off the layout.
Develop games in your browser. Powerful, performant & highly capable.
a bit more info may be necessary as i may 1 day need to go about the same problem...