after you click the green flag, you can drag the sprite. at the end, go into the green.
Thanks to my older sister for a bit of help. Thanks to the Coding projects in scratch book which gave me the idea. The code, however, was all mine. watch out for the red! If you hit the red, you will find yourself back at the start when you let go of the curser.If you very slightly hit the red it will not count it, however, if you hit it too much you will fail.