Set active turtle

talkto turtle
tto turtle

Set the turtle to receive and handle commands issued in the command line.

Commands should be issued one after another in the command line.

;command 1)
shared "t "t := (newturtles 2)

;command 2)
tto :t,1

;command 3)
lt 45 fd 100

;command 4)
tto :t,2

;command 5)
rt 45 fd 100

;command 6)
tto #first

;command 7)
fd 50

A drawing in the graphics window.

See also:

Turtle - object

Table of Content