Press the flag to start the play. When done, press space to reset.
A thank you to @demifitz for the help. This is my first project and I needed help. I will try to create more projects. Thanks! Comment if you have suggestions.