Common Commands

Print Version of Common Commands

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

These are some of the most commonly used commands in Starlogo.

A
and

ask-breed

ask-patches

ask-turtles

B
back (bk)

bk (back)

black

blue

breed

brown

C
ca (clear-all clearall)

cg (clear-graphics)

clear-all (ca clearall)

clear-graphics (cg)

clearall (ca) (clear-all)

color

count-breed-here

count-turtles-here

D
die

diffuse

distance

E / F
end

fd (forward)

forward (fd)

G
globals

grab

gray (grey)

green

grey (gray)

H / I
heading

if

ifelse

J / K
jump

kill

L / M
left (lt)

lt (left)

N / O
not

one-of-breed-here

one-of-breed-with

one-of-turtles-here

one-of-turtles-with

or

orange

output

P / Q
partner

patchcolor (pc)

patches-own

pc (patchcolor)

pc-ahead-one-patch

pd (pendown)

pendown (pd)

penup (pu)

plot

pu (penup)

purple

R
random

red

repeat

right (rt)

round

rt (right)

S
scale-color

scale-pc

screen-height

screen-width

set

setc (setcolor)

setcolor (setc)

seth (setheading)

setheading (seth)

setpatchcolor (setpc)

setpc (setpatchcolor)

setshape

setvariable

setx (setxcor)

setxcor (setx)

setxy

sety (setycor)

setycor (sety)

shape

show

stamp

startbuttonname

stop

stopbuttonname

sum-of-turtles-with

T / U
to

towards

turtles-own

V
variable

variable-at

variable-of

variable-towards

W / X
wait

white

who

W / X / Y / Z
yellow