code: def resetToPreviousLoc(self):
          
          self.rect.left = self.startDraggingX
          self.rect.top = self.startDraggingY
docs: Resets the loc of the dragger to place where dragging started.
  
          This could be used in a test situation if the dragger was dragged to an incorrect location.