Normally when you put down a series of stamps, the most recent one is in "front" of the others. For example, if you run these two lines of code, the apple is in front of the watermelon, since the apple was stamped last.
However, if we add a third line of code that calls front(), we can make the watermelon jump in front of the apple.
And the back() command does the opposite. When we tap, let's hide the monkey behind the house.
The front() and back() commands can also be called on a Text object. In this code, tapping brings the text to the front.
This also works for circles. In this code, tapping each circle will bring it to the front.