code: def moveSpeed(self, location, seconds=0.3):
          
          self._lock.acquire()
          original_location = mouse.get_position()
          mouse.move(location.x, location.y, duration=seconds)
          if mouse.get_position() == original_location and original_location != location.getTuple():
              raise IOError("""
                  Unable to move mouse cursor. This may happen if you're trying to automate a 
                  program running as Administrator with a script running as a non-elevated user.
              """)
          self._lock.release()
docs: Moves cursor to specified ``Location`` over ``seconds``.
  
          If ``seconds`` is 0, moves the cursor immediately. Used for smooth
          somewhat-human-like motion.