Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

reset a turtle python

import turtle
t = turtle.Turtle()

#A Drawing
t.lt(50)
t.fd(100)

#Resets the turtles rotation, position, and drawings
t.reset()

######################################################
# The reset() function doesn't require any arguments #
######################################################
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reset #turtle #python
ADD COMMENT
Topic
Name
6+1 =