Turtle

hatch [list of commands]

Parameters:
[list of commands] List of commands

Description:
Make an exact copy of a turtle, including turtles-own variables and state variables. The [list of commands] is then run on the cloned turtle.

Examples:
hatch [setc blue fd 1] has the caller make a duplicate of itself, and then the duplicate sets its color to blue and moves foward 1.

Related Commands:
sprout