How do i prevent the player from dragging a part really far away? (DragDetector)

drag detectors are pretty confusing to me, so i dont exactly understand how most of its properties work

but how do i prevent the player from dragging a part N studs away from the player?

There is a property called “MaxActivationDistance”.

i tried that, it only affects activation as the property name says, i meant when the player activates the drag detector, how do i prevent the part with the drag detector to go any further than lets say 30 studs

DragDetector does not have a property for that, you can only achieve something like that with scripting

the best fix i found for this was changing DragStyle to TranslateViewPlane