Commands Affecting Turtles

Print Version of Commands Affecting Turtles

A | B | C | D / E | F | G | H | I / J | K / L | M / N | O | P / Q | R | S | T / U | V | W | X | Y / Z

These are all the commands that affect properties of a turtle. A turtle has several built-in properties: xcor, ycor, color, heading, shape, breed, who, pen position (up or down) and whether or not the turtle is visible. Additional properties may be declared by you, with the turtles-own command.

A
alive?

alive?-of

ask-breed

ask-breed-with

ask-list-of-turtles

ask-turtle

ask-turtles

ask-turtles-with

average-of-breed

average-of-breed-with

average-of-turtles

average-of-turtles-with

B
breed

breed-at

breed-of

breed-towards

breeds

C
ca (clear-all clearall)

clear-all (ca clearall)

clear-turtles (clearturtles) (ct)

clearall (ca) (clear-all)

clearturtles (clear-turtles ct)

color

color-at

color-of

color-towards

count-breed

count-breed-at

count-breed-here

count-breed-towards

count-breed-with

count-color

count-color-range

count-turtles

count-turtles-at

count-turtles-here

count-turtles-towards

count-turtles-with

create-breed

create-breed-and-do

create-custom-turtles

create-custom-turtles-and-do

create-turtles (crt)

create-turtles-and-do (crt-and-do)

crt (create-turtles)

crt-and-do (create-turtles-and-do)

ct (clear-turtles clearturtles)

D / E
die

distance

distance-nowrap

dx

dy

F
fd (forward)

forward (fd)

G
grab

grabbed?

H
hatch

heading

heading-at

heading-of

heading-towards

hide-turtle (hideturtle ht)

hideturtle (hide-turtle) (ht)

home

ht (hide-turtle hideturtle)

I / J
inspect-turtle

jump

K / L
kill

leap

left (lt)

list-of-breed

list-of-breed-at

list-of-breed-towards

list-of-breed-with

list-of-turtles

list-of-turtles-at

list-of-turtles-here

list-of-turtles-towards

list-of-turtles-with

lt (left)

M / N
max-of-breed

max-of-breed-with

max-of-turtles

max-of-turtles-with

median-of-breed

median-of-breed-with

median-of-turtles

median-of-turtles-with

min-of-breed

min-of-breed-with

min-of-turtles

min-of-turtles-with

mode-of-breed

mode-of-turtles

mode-of-turtles-with

O
one-of-breed

one-of-breed-at

one-of-breed-at-with

one-of-breed-here

one-of-breed-here-with

one-of-breed-towards-with

one-of-breed-with

one-of-turtles

one-of-turtles-at

one-of-turtles-at-with

one-of-turtles-here

one-of-turtles-here-with

one-of-turtles-towards

one-of-turtles-towards-with

one-of-turtles-with

P / Q
partner

partners

pd (pendown)

pendown (pd)

pendown?

pendown?-at

pendown?-of

pendown?-towards

penup (pu)

pstamp

pstamp-at

pstamp-towards

pu (penup)

R
right (rt)

rt (right)

S
scale-color

sdev-of-breed

sdev-of-breed-with

sdev-of-turtles

sdev-of-turtles-with

setbreed

setbreed-at

setbreed-of

setbreed-towards

setc (setcolor)

setc-at

setc-of

setc-towards

setcolor (setc)

seth (setheading)

seth-at

seth-of

seth-towards

setheading (seth)

setpendown?-at

setpendown?-of

setpendown?-towards

setshape

setshape-at

setshape-of

setshape-towards

setshown?-at

setshown?-of

setshown?-towards

setvariable

setx (setxcor)

setx-at (setxcor-at)

setx-of (setxcor-of)

setx-towards (setxcor-towards)

setxcor (setx)

setxcor-at (setx-at)

setxcor-of (setx-of)

setxcor-towards (setx-towards)

setxy

setxy-at

setxy-of

setxy-towards

sety (setycor)

sety-at (setycor-at)

sety-of (setycor-of)

sety-towards (setycor-towards)

setycor (sety)

setycor-at (sety-at)

setycor-of (sety-of)

setycor-towards (sety-towards)

shape

shape-at

shape-of

shape-towards

show-turtle (showturtle st)

shown?

shown?-at

shown?-of

shown?-towards

showturtle (show-turtle) (st)

sprout

st (show-turtle showturtle)

step

sum-of-breed

sum-of-breed-with

sum-of-turtles

sum-of-turtles-with

T / U
towards

towards-nowrap

turtles-own

V
variable

variable-at

variable-of

variable-towards

variance-of-breed

variance-of-breed-with

variance-of-turtles

variance-of-turtles-with

W
who

who-max-of-breed

who-max-of-breed-with

who-max-of-turtles

who-max-of-turtles-with

who-min-of-breed

who-min-of-breed-with

who-min-of-turtles

who-min-of-turtles-with

X
xcor

xcor-at

xcor-of

xcor-towards

Y / Z
ycor

ycor-at

ycor-of

ycor-towards