but if you are dragging and dropping, what would stop someone from doing circles to run up the distance? or just go back and forth? The actual distance should be the starting point to the end point, without all the extra movements.
you could do your own custom drag and drop, and calculate the distance moved every tick if you really needed to.
I'm dragging and dropping which is go back and forth. the actual distance and endpoint will change every time the object gets a new position. anyway, the problem was already solved, I just randomly try this and that and tbh I don't know how much your info helps me but in the end, it works well and I'm really grateful for what you did. ^^