Steps to reproduce:
- Create two sprites. Call the first sprite "Part", and the second "Anchor".
- Set "Part"'s anchor to "Anchor".
- Construct this script in the "Part", which I expect would detach the part from its anchor when pressed or dragged.
- Try to drag the part.
When you press down on the part, it detaches from the anchor as expected. But when you begin dragging, you start dragging the anchor, while the part doesn't even move!
I believe the correct behaviour here is for the drag to be initiated on the part itself, rather than the anchor.
This behaviour would be very useful for a variety of use cases - GUIs where you can drag icons and items out of windows, games where you can assemble and disassemble physical machines, and even a "Snap!-in-Snap!" kind of thing where you can drag blocks into and out of other blocks.