code: def move(self, x, y):
          
          if self.brush_on:
              for lx, ly in line(self.pos_x, self.pos_y, x, y):
                  self.set(lx, ly)
  
          self.pos_x = x
          self.pos_y = y
docs: Move the turtle to a coordinate.
  
          :param x: x coordinate
          :param y: y coordinate