I\'m trying to draw a horizontal line from a condition and then erase the line from when the previous condition was true, but I get an error if I put the code to delete in t