def move(self, x, y):
if self.brush_on:<EOL><INDENT>for lx, ly in line(self.pos_x, self.pos_y, x, y):<EOL><INDENT>self.set(lx, ly)<EOL><DEDENT><DEDENT>self.pos_x = x<EOL>self.pos_y = y<EOL>
Move the turtle to a coordinate.

        :param x: x coordinate
        :param y: y coordinate