Snipet to make items draggable in Canvas
I made a little drag and drop game in AS3 and it worked perfectly. But, you can't do anything with a swf these days. [I'm a senior.] So, now I am trying to create it with Canvas and as there is no drag and drop code available in snippets for HTML5 Canvas, I've looked at several videos, but they all use a landing spot and/or snapping and I don't want either of these. The user can drag the objects (movieclips) anywhere on the stage. Any all all help greatly appreciated.
