Turtle Command List

(For a Printable Version Click Here)

SYMBOLS
+, -, *, /, ^

=, !=, <, >, <=, >=

A
abs

and

ask-list-of-turtles

ask-patch-at

ask-turtle

atan

B

bf, butfirst

bitand

bitnot

bitor

bitxor

bk, back

bl, butlast

black

blue

breed

breed-at

breed-of

breed-towards

brown

C
case

cc, clear-command-center

clearplot, clear-plot

color

color-at

color-of

color-towards

condition

copy-list

cos

count-color

count-color-range

count-frogs

count-frogs-at

count-frogs-here

count-frogs-towards

count-frogs-with

count-patches-with

count-pc

count-pc-range

count-turtles

count-turtles-at

count-turtles-here

count-turtles-towards

count-turtles-with

cyan

D
die

distance

distance-nowrap

div

dx

dy

E
e

empty?

end

every

exp

F
fd, forward

first

fput

G
get-random-seed

grab

gray, grey

green

H
hatch

heading

heading-at

heading-of

heading-towards

home

ht, hideturtle

I
if

if breed = frogs

ifelse

ignore

import-picture

import-picture-name

int

item

J
jump
K
kill
L
last

leap

length

let

lime

list

list?

list-of-frogs

list-of-frogs-at

list-of-frogs-here

list-of-frogs-towards

list-of-frogs-with

list-of-turtles

list-of-turtles-at

list-of-turtles-here

list-of-turtles-towards

list-of-turtles-with

ln

loop

lput

lt, left

M

magenta

make-list

max

maxnum

max-of-frogs-with

max-of-patches-with

max-of-turtles-with

member?

min

minnum

min-of-frogs-with

min-of-patches-with

min-of-turtles-with

mod

mouse-xcor

mouse-ycor

myself

N
nobody

not

number?

O
one-of-frogs

one-of-frogs-at

one-of-frogs-here

one-of-frogs-towards

one-of-turtles

one-of-turtles-at

one-of-turtles-here

one-of-turtles-towards

or

orange

output

P
partner

partners

patches-own

pc, patchcolor

pc-ahead

pc-at

pc-towards

pd, pendown

pendown?

pendown?-at

pendown?-of

pendown?-towards

pi

pick

pink

plot

plot-title

plot-xlabel

plot-xmax

plot-xmin

plot-ylabel

plot-ymax

plot-ymin

position

pp

ppc

ppd

ppreset

ppu

ppxcor

ppycor

pu, penup

Q / R
random

random-gaussian

red

repeat

resett, reset-timer

round

rt, right

S
scale-color

screen-half-height

screen-half-width

screen-height

screen-width

se, sentence

set

setbreed

setbreed-at

setbreed-of

setbreed-towards

setc, setcolor

setc-at

setc-of

setc-towards

seth, setheading

seth-at

seth-of

seth-towards

setitem, set-item

setpendown?-at

setpendown?-of

setpendown?-towards

setplot-title

setplot-xlabel

setplot-xmax

setplot-xmin

setplot-xrange

setplot-ylabel

setplot-ymax

setplot-ymin

setplot-yrange

setppc

setshown?-at

setshown?-of

setshown?-towards

setslidervar

setx

setxcor-at

setxcor-of

setxcor-towards

setxy

sety, setycor

setycor-at

setycor-of

setycor-towards

show

shown?

shown?-at

shown?-of

shown?-towards

sin

sky

sprout

sqrt

st, showturtle

stamp

stamp-at

stamp-towards

step

stop

stopall

sum-of-frogs

sum-of-frogs-with

sum-of-patches

sum-of-patches-with

sum-of-turtles

sum-of-turtles-with

T
tan

timer

to

towards

towards-nowrap

to-delimited-string

to-list

to-string

turquoise

turtles-own

type

U / V
viewplot, view-plot

violet, purple

W
wait

wait-until

white

who

word?

X
xcor

xcor-at

xcor-of

xcor-towards

xor

Y
ycor

ycor-at

ycor-of

ycor-towards

yellow

Z