This is a math-y project. If you don't like that, then this isn't for you. If you look inside the project, I used the formula to find the distance between two objects, then I used scratch's "Distance to ()" block, and they have the exact same output. The formula is √ (x2 - x1)sq. + (y2 - y1)sq. Or, in other words, the square root of (x of object 2 - x of object 1) squared + (y of object 2 - y of object 1) squared.
The objects are draggable. See inside for proof of code.