Copy link to clipboard
Copied
For example, when I drag the "kutu 1" object in the image to the "kutu 0" object, what is the code for them to replace each other?
Copy link to clipboard
Copied
(HTML5 CANVAS)
Copy link to clipboard
Copied
You're going to need to divide it into two parts, the first for the drag and drop, the second for the sorting that determines what is where in your project. Here is a link to a good HTML5 drag and drop exercise. Animate CC Drag n drop animation example in HTML5 ... - Adobe Support Community - 9994982