I have a button that draws a polygon using Print[Graphics[...
Each time the button is pressed it creates a new polygon below the previous ones. However, what I want is for the button to erase the previous output and create the new polygon in its place.
How can this be accomplished? I feel like there must be a way to constrain the drawing in the same box that the button is in (I'm using manipulate to draw the button.)