Hi, can someone tell me how to reset a turtle (in python) to its original state? I don't mean turtle.reset(), I mean making it go back to the position I set it to, and have its settings (like penup and shape etc.) what I set it to. For example, if two turtles hit each other, I want them both to go their starting positions and do the same function again.
This will really help me a lot.
import turtle t = turtle.Turtle() y = turtle.Turtle() t.goto(1, 100) (for example) y.goto(100, 100) (for example) if [collision stuff]: t.goto(1, 100) #(the same x y as earlier) y.goto(100, 100) #(same as earlier as well)