Click the flag.
I only did this to test out scratch. How this works is the computer rolls a random number, in the glide to location block, then loops.