 |
move _ steps |
command |
motion |
(move 10) |
 |
turn $clockwise _ degrees |
command |
motion |
(right 15) |
 |
turn $counterclockwise _ degrees |
command |
motion |
(left 15) |
 |
point in direction _ |
command |
motion |
(head 90) |
 |
point towards _ |
command |
motion |
(face [mouse-pointer]) |
 |
go to x: _ y: _ |
command |
motion |
(go 0 0) |
 |
go to _ |
command |
motion |
(goto "[random position]") |
 |
glide _ secs to x: _ y: _ |
command |
motion |
(glide 1 0 0) |
 |
change x by _ |
command |
motion |
(+x 10) |
 |
set x to _ |
command |
motion |
(x= 0) |
 |
change y by _ |
command |
motion |
(+y 10) |
 |
set y to _ |
command |
motion |
(y= 0) |
 |
if on edge, bounce |
command |
motion |
(bounce) |
 |
position |
reporter |
motion |
(pos) |
 |
x position |
reporter |
motion |
(x) |
 |
y position |
reporter |
motion |
(y) |
 |
direction |
reporter |
motion |
(dir) |
 |
switch to costume _ |
command |
looks |
(wear nil) |
 |
next costume |
command |
looks |
(next) |
 |
costume # |
reporter |
looks |
(costume#) |
 |
say _ for _ secs |
command |
looks |
(sayFor Hello! 2) |
 |
say _ |
command |
looks |
(say Hello!) |
 |
think _ for _ secs |
command |
looks |
(thinkFor Hmm... 2) |
 |
think _ |
command |
looks |
(think Hmm...) |
 |
_ of costume _ |
reporter |
looks |
(costume [width] [current]) |
 |
stretch _ x: _ y: _ % |
reporter |
looks |
(stretch [current] 100 50) |
 |
skew _ to _ degrees _ % |
reporter |
looks |
(skew [current] 0 50) |
 |
new costume _ width _ height _ |
reporter |
looks |
(newCostume nil nil nil) |
 |
change _ effect by _ |
command |
looks |
(+effect [ghost] 25) |
 |
set _ effect to _ |
command |
looks |
(effect= [ghost] 0) |
 |
clear graphic effects |
command |
looks |
(clearEffects) |
 |
_ effect |
reporter |
looks |
(effect [ghost]) |
 |
change size by _ |
command |
looks |
(+size 10) |
 |
set size to _ % |
command |
looks |
(size= 100) |
 |
size |
reporter |
looks |
(size) |
 |
show |
command |
looks |
(show) |
 |
hide |
command |
looks |
(hide) |
 |
shown? |
predicate |
looks |
(shown) |
 |
go to _ layer |
command |
looks |
(layer [front]) |
 |
go back _ layers |
command |
looks |
(back 1) |
 |
play sound _ |
command |
sound |
(play nil) |
 |
play sound _ until done |
command |
sound |
(playAll nil) |
 |
stop all sounds |
command |
sound |
(stopSounds) |
 |
play sound _ at _ Hz |
command |
sound |
(playAt nil 44100) |
 |
_ of sound _ |
reporter |
sound |
(sound [duration] nil) |
 |
new sound _ rate _ Hz |
reporter |
sound |
(newSound nil 44100) |
 |
rest for _ beats |
command |
sound |
(rest 0.2) |
 |
play note _ for _ beats |
command |
sound |
(note 60 0.5) |
 |
set instrument to _ |
command |
sound |
(instrument 1) |
 |
change tempo by _ |
command |
sound |
(+tempo 20) |
 |
set tempo to _ bpm |
command |
sound |
(tempo= 60) |
 |
tempo |
reporter |
sound |
(tempo) |
 |
change volume by _ |
command |
sound |
(+vol 10) |
 |
set volume to _ % |
command |
sound |
(vol= 100) |
 |
volume |
reporter |
sound |
(vol) |
 |
change balance by _ |
command |
sound |
(+pan 10) |
 |
set balance to _ |
command |
sound |
(pan= 0) |
 |
balance |
reporter |
sound |
(pan) |
 |
play frequency _ Hz |
command |
sound |
(freq 440) |
 |
stop frequency |
command |
sound |
(stopFreq) |
 |
clear |
command |
pen |
(clear) |
 |
pen down |
command |
pen |
(down) |
 |
pen up |
command |
pen |
(up) |
 |
pen down? |
predicate |
pen |
(down?) |
 |
set pen color to _ |
command |
pen |
(setColor "rgba(145,26,68,1)") |
 |
change pen _ by _ |
command |
pen |
(+pen [hue] 10) |
 |
set pen _ to _ |
command |
pen |
(pen= [hue] 50) |
 |
pen _ |
reporter |
pen |
(pen [hue]) |
 |
change pen size by _ |
command |
pen |
(+penSize 1) |
 |
set pen size to _ |
command |
pen |
(penSize= 1) |
 |
stamp |
command |
pen |
(stamp) |
 |
fill |
command |
pen |
(fill) |
 |
write _ size _ |
command |
pen |
(write Hello! 12) |
 |
pen trails |
reporter |
pen |
(trails) |
 |
paste on _ |
command |
pen |
(paste nil) |
 |
cut from _ |
command |
pen |
(cut nil) |
 |
broadcast _ _ |
command |
control |
(send nil) |
 |
broadcast _ _ and wait |
command |
control |
(sendAll nil) |
 |
wait _ secs |
command |
control |
(wait 1) |
 |
wait until _ |
command |
control |
(waitUntil nil) |
 |
forever _ |
command |
control |
(forever nil) |
 |
repeat _ _ |
command |
control |
(repeat 10 nil) |
 |
repeat until _ _ |
command |
control |
(until nil nil) |
 |
for _ = _ to _ _ |
command |
control |
(for i 1 10 nil) |
 |
if _ _ _ |
command |
control |
(if nil nil) |
 |
if _ _ else _ |
command |
control |
(ifElse nil nil nil) |
 |
if _ then _ else _ |
reporter |
control |
(ifThen nil nil nil) |
 |
report _ |
command |
control |
(report nil) |
 |
stop _ |
command |
control |
(stop [all]) |
 |
run _ _ |
command |
control |
(run nil) |
 |
launch _ _ |
command |
control |
(fork nil) |
 |
call _ _ |
reporter |
control |
(call nil) |
 |
pipe _ $arrowRight _ |
reporter |
control |
(pipe nil nil) |
 |
tell _ to _ _ |
command |
control |
(tell nil nil) |
 |
ask _ for _ _ |
reporter |
control |
(ask nil nil) |
 |
create a clone of _ |
command |
control |
(clone [myself]) |
 |
a new clone of _ |
reporter |
control |
(newClone [myself]) |
 |
delete this clone |
command |
control |
(removeClone) |
 |
pause all $pause |
command |
control |
(pause) |
 |
switch to scene _ _ |
command |
control |
(scene [next]) |
 |
define _ _ _ |
command |
control |
(define block nil nil) |
 |
delete block _ |
command |
control |
(deleteBlock nil) |
 |
set _ of block _ to _ |
command |
control |
(setBlock [label] nil nil) |
 |
_ of block _ |
reporter |
control |
(block [definition] nil) |
 |
this _ |
reporter |
control |
(this [script]) |
 |
set slot _ to _ |
command |
control |
(doSetSlot nil nil) |
 |
touching _ ? |
predicate |
sensing |
(touch [mouse-pointer]) |
 |
touching _ ? |
predicate |
sensing |
(touchColor "rgba(145,26,68,1)") |
 |
color _ is touching _ ? |
predicate |
sensing |
(colorTouch "rgba(145,26,68,1)" "rgba(145,26,68,1)") |
 |
ask _ and wait |
command |
sensing |
(doAsk "what's your name?") |
 |
answer |
reporter |
sensing |
(answer) |
 |
mouse position |
reporter |
sensing |
(mouse) |
 |
mouse x |
reporter |
sensing |
(mouseX) |
 |
mouse y |
reporter |
sensing |
(mouseY) |
 |
mouse down? |
predicate |
sensing |
(mouseDown) |
 |
key _ pressed? |
predicate |
sensing |
(key [space]) |
 |
_ to _ |
reporter |
sensing |
(relation [distance] [mouse-pointer]) |
 |
_ at _ |
reporter |
sensing |
(aspect [hue] [mouse-pointer]) |
 |
reset timer |
command |
sensing |
(resetTimer) |
 |
timer |
reporter |
sensing |
(timer) |
 |
current _ |
reporter |
sensing |
(current [date]) |
 |
_ of _ |
reporter |
sensing |
(attribute "[costume #]" nil) |
 |
my _ |
reporter |
sensing |
(my [neighbors]) |
 |
object _ |
reporter |
sensing |
(object [myself]) |
 |
url _ |
reporter |
sensing |
(url snap.berkeley.edu) |
 |
microphone _ |
reporter |
sensing |
(audio [volume]) |
 |
video _ on _ |
reporter |
sensing |
(video [motion] [myself]) |
 |
set video transparency to _ |
command |
sensing |
(transparency 50) |
 |
is _ on? |
predicate |
sensing |
(global "[turbo mode]") |
 |
set _ to _ |
command |
sensing |
(global= "[video capture]" nil) |
 |
_ |
reporter |
operators |
(+ nil nil) |
 |
_ − _ |
reporter |
operators |
(- nil nil) |
 |
_ |
reporter |
operators |
(* nil nil) |
 |
_ / _ |
reporter |
operators |
(/ nil nil) |
 |
_ ^ _ |
reporter |
operators |
(^ nil nil) |
 |
_ mod _ |
reporter |
operators |
(mod nil nil) |
 |
_ |
reporter |
operators |
(min nil nil) |
 |
_ |
reporter |
operators |
(max nil nil) |
 |
round _ |
reporter |
operators |
(round nil) |
 |
_ of _ |
reporter |
operators |
(fn [sqrt] 10) |
 |
atan2 _ ÷ _ |
reporter |
operators |
(atan2 nil nil) |
 |
pick random _ to _ |
reporter |
operators |
(rand 1 10) |
 |
_ |
predicate |
operators |
(< nil nil) |
 |
_ |
predicate |
operators |
(= nil nil) |
 |
_ |
predicate |
operators |
(> nil nil) |
 |
_ |
predicate |
operators |
(and nil nil) |
 |
_ |
predicate |
operators |
(or nil nil) |
 |
not _ |
predicate |
operators |
(not nil) |
 |
_ |
predicate |
operators |
(bool t) |
 |
join _ |
reporter |
operators |
(join "hello " world) |
 |
split _ by _ |
reporter |
operators |
(split "hello world" " ") |
 |
letter _ of _ |
reporter |
operators |
(letter 1 world) |
 |
_ of text _ |
reporter |
operators |
(text [length] world) |
 |
unicode of _ |
reporter |
operators |
(unicode a) |
 |
unicode _ as letter |
reporter |
operators |
(toLetter 65) |
 |
is _ a _ ? |
predicate |
operators |
(is 5 [number]) |
 |
is _ ? |
predicate |
operators |
(same nil nil) |
 |
JavaScript function ( _ ) { _ } |
reporter |
operators |
(js nil nil) |
 |
set _ to _ |
command |
variables |
(set nil 0) |
 |
change _ by _ |
command |
variables |
(+= nil 1) |
 |
show variable _ |
command |
variables |
(showVar nil) |
 |
hide variable _ |
command |
variables |
(hideVar nil) |
 |
inherit _ |
command |
variables |
(inherit nil) |
 |
list _ |
reporter |
lists |
(list nil) |
 |
numbers from _ to _ |
reporter |
lists |
(range 1 10) |
 |
_ in front of _ |
reporter |
lists |
(cons nil nil) |
 |
item _ of _ |
reporter |
lists |
(item 1 nil) |
 |
all but first of _ |
reporter |
lists |
(cdr nil) |
 |
_ of _ |
reporter |
lists |
(data [length] nil) |
 |
index of _ in _ |
reporter |
lists |
(# thing nil) |
 |
_ contains _ |
predicate |
lists |
(contains nil thing) |
 |
is _ empty? |
predicate |
lists |
(empty nil) |
 |
map _ over _ |
reporter |
lists |
(map nil nil) |
 |
keep items _ from _ |
reporter |
lists |
(keep nil nil) |
 |
find first item _ in _ |
reporter |
lists |
(find nil nil) |
 |
combine _ using _ |
reporter |
lists |
(combine nil nil) |
 |
for each _ in _ _ |
command |
lists |
(forEach item nil nil) |
 |
add _ to _ |
command |
lists |
(add thing nil) |
 |
delete _ of _ |
command |
lists |
(del 1 nil) |
 |
insert _ at _ of _ |
command |
lists |
(ins thing 1 nil) |
 |
replace item _ of _ with _ |
command |
lists |
(put 1 nil thing) |
 |
append _ |
reporter |
lists |
(append nil nil) |
 |
reshape _ to _ |
reporter |
lists |
(reshape nil 4 3) |
 |
combinations _ |
reporter |
lists |
(combinations nil nil) |