Click the Flag, then try dragging the cat. Then set DragMode to 1, and try dragging. See Inside if you want to see how it works.
Made using Scratch. I basically calculated the x and y distance from the mouse, and followed the mouse according to those coordinates.