How can I make different shapes of a canvas draggable and particular area of it droppable in the same canvas
问题 I want to create a Canvas in which there will be two areas (Left and right), Left panel will contain some shapes which will be draggable(static as well) and on the right side I would be able to drop them, but I am facing following problem, I am not able to make the shapes which i draw on the left side, draggable, because there is no id associated with them. I do not know how to make some particular area droppable. Here is code to visualize what I am trying to achieve- <body> <canvas id=