Thanks for the help on the last one. Is it possible to restart a while loop? This doesn't work at all (surprise surprise) import turtle as t def start(): global more more = True def stop(): global more more = False more = True while True: while more: t.onkey(stop, "space") t.onkey(start, "Up") t.fd(1) t.listen()