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
Simple 3D
10
move
steps
15
turn
degrees
15
turn
degrees
random position
go to
0
0
go to x:
y:
1
random position
glide
secs to
1
0
0
glide
secs to x:
y:
90
point in direction
mouse-pointer
point towards
10
change x by
0
set x to
10
change y by
0
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
costume1
switch costume to
next costume
backdrop1
switch backdrop to
next backdrop
10
change size by
100
set size to
%
25
change
color
effect by
0
set
color
effect to
clear graphic effects
show
hide
go to
front
layer
1
go
forward
layers
costume
number
backdrop
number
size
play sound
until done
start sound
stop all sounds
10
change
pitch
effect by
100
set
pitch
effect to
clear sound effects
-10
change volume by
100
set volume to
%
volume
when
clicked
when
space
key pressed
when this sprite clicked
when backdrop switches to
backdrop1
10
when
loudness
>
when I receive
message1
message1
broadcast
message1
broadcast
and wait
1
wait
seconds
10
repeat
forever
if
then
if
then
else
wait until
repeat until
while
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
answer
space
key
pressed?
mouse down?
mouse x
mouse y
set drag mode
draggable
loudness
timer
reset timer
Stage
backdrop #
of
current
year
days since 2000
username
+
-
*
/
1
10
pick random
to
50
>
50
<
50
=
and
or
not
apple
banana
join
1
apple
letter
of
apple
length of
apple
a
contains
?
mod
round
abs
of
my variable
0
set
my variable
to
1
change
my variable
by
show variable
my variable
hide variable
my variable
reset everything
color and depth
clear
0.5
0.5
0.5
1
set clear color R:
G:
B:
A:
closer
on
depth test
write
all meshes
my mesh
create mesh
my mesh
delete mesh
my mesh 3
my mesh 1,my mesh 2
make
inherit from meshes
my mesh
mesh
inherits from
my mesh
set
vertex indices
list
my mesh
set
positions XY
list
list
my mesh
set
positions XYZ
list
list
list
my mesh
set
colors RGB
list
list
list
my mesh
set
colors RGBA
list
list
list
list
my mesh
set
texture coordinates UV
list
list
my mesh
set
texture
clamp to edge
pixelated
my mesh
set
cube texture coordinates UVW
list
list
list
my mesh
X+
set
cube texture
clamp to edge
pixelated
my mesh
set
texture mipmapping
off
my mesh
16
set
texture anisotropic filtering
my mesh
3
set
bone indices
list
weights
list
count per vertex
my mesh
original
set
transforms
list
my mesh
set
interleaved
XY positions
list
my mesh
set
instance
transforms
list
my mesh
1
set
list update offset
my mesh
rarely
set
optimize next uploaded lists for being
updated
my mesh
set
from
obj mtl
list
my mesh
points
set
primitives
my mesh
default
set
blending
my mesh
nothing
set
cull
my mesh
0.5
set
discard pixels less opaque than
, for those that pass
make opaque
my mesh
on
set
billboarding
my mesh
once at pixel center
set
compute color
my mesh
1
6
set
vertex draw range from
to
my mesh
10
set
instance draw limit
my mesh
0
0
set
texture coordinate offset UV
my mesh
draw mesh
https://extensions.turbowarp.org/dango.png
texture from URL
costume1
texture from costume
Hello World!
italic bold 32px sans-serif
texture from text
font
color
Hello World!
italic bold 32px sans-serif
1
texture from text
font
color
border
1
16
16
texture from list
list
at
of size
16
16
texture of size
Hello World!
italic bold 32px sans-serif
measure text
font
up
measured
size
32
font
Sans Serif
of size
configure
to projected from view space
transformation
90
0.1
1000
start with perspective FOV:
near:
far:
0.1
1000
start with orthographic near:
far:
start with no transformation
1
start with saved in
list
at
0
0
0
move X:
Y:
Z:
0
rotate around
X
by
degrees
1
1
1
scale X:
Y:
Z:
wrapper
1
save into
list
at
offset
reset transformation's
0
0
0
transform X:
Y:
Z:
0
0
0
transform X:
Y:
Z:
from
world space
to
model space
0
0
0
transform direction X:
Y:
Z:
from
world space
to
model space
transformed
X
render to stage
my mesh
render to texture of
X+
my mesh
render to cube texture
of
read current render target into
list
render target
width
0
0
100
100
set
viewport box
to X1:
Y1:
X2:
Y2:
clear
viewport box
1
1
1
1
set global color
multiplier
R:
G:
B:
A:
on
turn fog
1
1
1
set fog color R:
G:
B:
10
100
set fog distance near:
far:
0
0
0
set fog
view space
origin at X:
Y:
Z:
when resolution changes
stage width
stage height
Motion
Looks
Sound
Events
Control
Sensing
Operators
Variables
Make a Variable
Make a List
My Blocks
Make a Block
Simple 3D
Open Documentation
Open extra resources
Open sample project
Clearing
Meshes
Textures
Text measurement
Fonts
View transformations
Manual transformations
Rendering into textures
Tinting and fog
Resolution changes
Backpack
Sprite
x
y
Show
Size
Direction
Sprite1
duplicate
export
delete
Stage
Backdrops
1