Click on flag.
I made this project using Creating slider variables and sprites , gliding a sprite , Sensing , if block.