Have an anchor and offset tag in your frame that is relative to UIParent
On the event OnReceiveDrag check if the offset x value has changed then reset it.
Might work i'm not 100% on how dragging works.
If OnReceiveDrag doesn't work use On_Update but start your checking flag in OnDragStart
|