When you click the cat, it will fall over and a ghost will rise up. Since clicking the cat is a one-way flag, the action will only happen once until the green flag is pressed to reset the program. To create this one-way flag, I used a variable I called "ghost," which changes from zero to one when the cat is clicked. The ghost will only appear when the variable is set to zero.
J. Reed Period 3