Drag and Drop to X, Y position

I've seen and downloaded the drag and drop example that uses a drop zone but I am looking for a solution to drag and drop a component across the page as a canvas. Dynamically set the new X, Y positions of that component on a mouse release. Is this possible?