how to drag to canvas