Set active turtle
talkto turtle
tto turtle
Set the turtle to receive and handle commands issued in the command line.
Example:
Commands should be issued one after another in the command line.
shared "t "t := (newturtles 2)
tto :t,1
lt 45 fd 100
tto :t,2
rt 45 fd 100
tto #first
fd 50
Output:
A drawing in the graphics window.
See also:
Turtle - object
Table of Content