code: def drag(self, dragFrom=None):
          
          if dragFrom is None:
              dragFrom = self._lastMatch or self # Whichever one is not None
          dragFromLocation = None
          if isinstance(dragFrom, Pattern):
              dragFromLocation = self.find(dragFrom).getTarget()
          elif isinstance(dragFrom, basestring):
              dragFromLocation = self.find(dragFrom).getTarget()
          elif isinstance(dragFrom, Match):
              dragFromLocation = dragFrom.getTarget()
          elif isinstance(dragFrom, Region):
              dragFromLocation = dragFrom.getCenter()
          elif isinstance(dragFrom, Location):
              dragFromLocation = dragFrom
          else:
              raise TypeError("drag expected dragFrom to be Pattern, String, Match, Region, or Location object")
          Mouse.moveSpeed(dragFromLocation, Settings.MoveMouseDelay)
          time.sleep(Settings.DelayBeforeMouseDown)
          Mouse.buttonDown()
          Debug.history("Began drag at {}".format(dragFromLocation))
docs: Starts a dragDrop operation.
  
          Moves the cursor to the target location and clicks the mouse in preparation to drag
          a screen element