How would you get the parameter Distance from handle adornments?

Hi, i’m currently writing a custom handles system for my building tool. The problem with using handle adornments is that they don’t provide a distance parameter unlike handles, how does Roblox calculate the distance from a handle’s MouseDrag?