use the flag to start the project if the apple goes off screen then it will appear again then if it is par.ly showing the apple will stop then the game is over.