TurboWarp requires JavaScript
Consider using
TurboWarp Desktop
if you are afraid of remote JavaScript.
Something went wrong.
Please report
with the information below.
Click here to reset caches (can fix some errors)
Settings
File
Edit
Addons
Advanced
See Project Page
TurboWarp Feedback
Code
Costumes
Sounds
Motion
Looks
Sound
Events
Control
Sensing
Operators
Variables
My Blocks
Pen
AR
line
x1
y1
z1
x2
y2
z2
1
item
of
combined
matrix
x1
*
5
item
of
combined
matrix
y1
*
+
9
item
of
combined
matrix
z1
*
13
item
of
combined
matrix
+
+
2
item
of
combined
matrix
x1
*
6
item
of
combined
matrix
y1
*
+
10
item
of
combined
matrix
z1
*
14
item
of
combined
matrix
+
+
4
item
of
combined
matrix
x1
*
8
item
of
combined
matrix
y1
*
+
12
item
of
combined
matrix
z1
*
16
item
of
combined
matrix
+
+
1
item
of
combined
matrix
x2
*
5
item
of
combined
matrix
y2
*
+
9
item
of
combined
matrix
z2
*
13
item
of
combined
matrix
+
+
2
item
of
combined
matrix
x2
*
6
item
of
combined
matrix
y2
*
+
10
item
of
combined
matrix
z2
*
14
item
of
combined
matrix
+
+
4
item
of
combined
matrix
x2
*
8
item
of
combined
matrix
y2
*
+
12
item
of
combined
matrix
z2
*
16
item
of
combined
matrix
+
+
w1
0.1
>
w2
0.1
>
x1
w1
/
stage width
2
/
*
y1
w1
/
stage height
2
/
*
x2
w2
/
stage width
2
/
*
y2
w2
/
stage height
2
/
*
pen up
go to x:
y:
pen down
go to x:
y:
if
then
if
then
set
w2
to
set
y2
to
set
x2
to
set
w1
to
set
y1
to
set
x1
to
define
vertex
x
y
z
x
scale
*
y
scale
*
z
scale
*
add
to
zs
add
to
ys
add
to
xs
define
line
v1
v2
line
v1
item
of
xs
placeX
+
v1
item
of
ys
placeY
+
v1
item
of
zs
placeZ
+
v2
item
of
xs
placeX
+
v2
item
of
ys
placeY
+
v2
item
of
zs
placeZ
+
define
is
ar
available?
0.1
1
0
/
3
vertex
-1
-1
-1
vertex
-1
-1
1
vertex
-1
1
-1
vertex
-1
1
1
vertex
1
-1
-1
vertex
1
-1
1
vertex
1
1
-1
vertex
1
1
1
is in AR?
is in AR?
placing
1
=
is
hit position
available?
and
hit position
x
hit position
y
scale
+
hit position
z
set
placeZ
to
set
placeY
to
set
placeX
to
line
1
2
line
3
4
line
5
6
line
7
8
line
1
3
line
2
4
line
5
7
line
6
8
line
1
5
line
2
6
line
3
7
line
4
8
if
then
erase all
while
wait until
enter AR mode
delete all of
zs
delete all of
ys
delete all of
xs
set pen size to
set size to
%
set
scale
to
wait until
when
clicked
next backdrop
25
change
color
effect by
0
set
color
effect to
clear graphic effects
backdrop
number
stop all sounds
10
change
pitch
effect by
100
set
pitch
effect to
clear sound effects
-10
change volume by
100
set volume to
%
when
clicked
when
space
key pressed
10
when
loudness
>
1
wait
seconds
10
repeat
forever
if
then
if
then
else
wait until
repeat until
while
answer
space
key
pressed?
mouse down?
mouse x
mouse y
loudness
timer
reset timer
current
year
days since 2000
username
+
-
*
/
1
10
pick random
to
50
>
50
<
50
=
and
or
not
mod
round
abs
of
10
move
steps
15
turn
degrees
15
turn
degrees
random position
go to
58
36
go to x:
y:
1
random position
glide
secs to
1
58
36
glide
secs to x:
y:
90
point in direction
mouse-pointer
point towards
10
change x by
58
set x to
10
change y by
36
set y to
if on edge, bounce
set rotation style
left-right
x position
y position
direction
Hello!
2
say
for
seconds
Hello!
say
Hmm...
2
think
for
seconds
Hmm...
think
costume2
switch costume to
next costume
backdrop1
switch backdrop to
10
change size by
100
set size to
%
show
hide
go to
front
layer
1
go
forward
layers
costume
number
size
play sound
until done
start sound
volume
when this sprite clicked
when backdrop switches to
backdrop1
when I receive
Update button state
Update button state
broadcast
Update button state
broadcast
and wait
stop
all
when I start as a clone
myself
create clone of
delete this clone
mouse-pointer
touching
?
touching color
?
color
is touching
?
mouse-pointer
distance to
What's your name?
ask
and wait
set drag mode
draggable
Stage
backdrop #
of
apple
banana
join
1
apple
letter
of
apple
length of
apple
a
contains
?
placeX
placeY
placeZ
placing
scale
w1
w2
x1
x2
y1
y2
z1
z2
0
set
placeX
to
1
change
placeX
by
show variable
placeX
hide variable
placeX
xs
ys
zs
thing
add
to
xs
1
delete
of
xs
delete all of
xs
1
thing
insert
at
of
xs
1
thing
replace item
of
xs
with
1
item
of
xs
thing
item # of
in
xs
length of
xs
thing
xs
contains
?
show list
xs
hide list
xs
line
line
vertex
erase all
stamp
pen down
pen up
set pen color to
color
10
change pen
by
color
50
set pen
to
1
change pen size by
1
set pen size to
enter AR mode
exit AR mode
is in AR?
is
ar
available?
stage width
stage height
1
item
of
combined
matrix
position
x
orientation
r
hit position
x
0
0
0
move everything by x:
y:
z:
1
0
0
0
turn everything by r:
i:
j:
k:
1
set resolution
Motion
Looks
Sound
Events
Control
Sensing
Operators
Variables
Make a Variable
Make a List
My Blocks
Make a Block
Pen
AR
Open Documentation
Backpack
Sprite
x
y
Show
Size
Direction
AR Cube
duplicate
export
delete
Controls
duplicate
export
delete
Stage
Backdrops
1