Move the model in the direction the specified number.
move
move
Move the model anti-clockwise the given number of degrees.
turn ↶
turnL
Move the model clockwise the given number of degrees.
turn ↷
turnR
Point the actor in the given direction.
point in direction
pointDir
Point the actor towards the mouse pointer or another actor.
point towards
pointTo
Move the actor's location relatively by the given x, , and z values.
go to x:
go
Set the actor's location to the given x, , and z values
go to
goTo
Set the actor's location to the given x, , and z values.
glide
glide
Like go, except the transition between the current and destination location is animated with the animation length specified.
glide
glideRel
Change the relative value of the actor's x location.
change x by
changeX
Set the value of the actor's x location.
set x to
setX
Change the relative value of the actor's y location.
change by
changeY
Set the value of the actor's y location.
set to
setY
Change the relative value of the actor's z location.
change z by
changeZ
Set the value of the actor's z location.
set z to
setZ
Stop the model from moving through other actors, this must be polled constantly to work.
if on edge, bounce
bounce
Get the actor's x location
x position
getX
Get the actor's y location
position
getY
Get the actor's z location
z position
getZ
Get the actor's direction (degrees)
direction
direction
Output a message from the actor in a speech bubble for the specified amount of time. There can only be one message at a time.
say
sayFor
Output a message from the actor until another message is said.
say
say
Currently identical too sayFor.
think
thinkFor
Currently identical to say.
think
think
Switch to a costume given by the costume name
set costume to
costumeSet
Switch to a costume at a given index
switch costume to
costumeSwitch
Change the next costume with the order specified by the import order in the media viewer.
next costume
costumeNext
Change either the colour (hue), brightness, or saturation by the given amount.
change
lookChange
Set either the colour (hue), brightness, or saturation to the given value.
set
lookSet
Set the colour of the actor to the specified colour
set color to
colorSet
Change the size of the actor by the given amount
change size by
sizeChange
Set the size of the actor
set size to
sizeSet
Get the index of the current costume, useful in conjunction with costumeSwitch which takes a costume index.
costume #
costumeIndex
Get the current size of the actor
size
size
Play through the sound media associated with the provided string until the sound is done / end of the program
play sound
sound
Play through the entire sound media associated with the provided string and wait.
play sound
soundDone
Stop playing the specified sound
stop all sounds
soundStop
Play the specified percussion instrument for the specified number of beats
play drum
playDrum
Play nothing for the specified number of beats
rest for
playRest
Play specific note for the specified number of beats
play note
playNote
Set the instrument for the playNote function to the specified value
set instrument to
setInstr
Change volume by provided amount
change volume by
changeVolume
Set volume to the specified value
set volume to
setVolume
Get the current volume value
volume
volume
Change tempo by provided amount. Higher tempo means beats play faster.
change tempo by
changeTempo
Set tempo to provided amount. Higher tempo means beats play faster.
set tempo to
setTempo
Return the current tempo value
tempo
tempo
Remove all pen marks from the world
clear
clear
Create a visual clone of your model that remains in the same location.
stamp
stamp
Start drawing on the ground with the pen
pen down
penDown
Stop drawing with the pen
pen up
penUp
Set the colour of the pen to the specified value
set pen color to
setPenC
Change the colour of the pen by the specified colour provided as a hex string
change pen color by
changePenC
Set the pen colour to a specific hex value
set pen color to
setPenN
Change the pen shade by the specified value
change pen shade by
changePenS
Set the pen shade to the specified value
set pen shade to
setPenS
Change the pen size by the specified value
change pen size by
changePenSz
Set the pen size to the specified value
set pen size to
setPenSz
Show the given variable in the top left of the screen (updates automatically)
show variable
variable_show
Hide the given variable in the top left of the screen, does nothing if the variable wasn’t shown in the first place.
hide variable
variable_hide
Time in seconds since the start button was pressed.
timer
Get the value of a specifc stat
getStat
Show a specific stat. Has the same behaviour as variable_show
show stat
stat_show
Get a previously defined global variable. Allows actors to share variables.
getGlobal
Set a global variable. The global variable is bound to a specific actor, but can be accessed from any actor.
setGlobal
Event triggered when the actor or the world is clicked.
when
clicked
Event triggered when either loudness (see volume in sound) or timer (see timer in sensing) reaches a certain value.
when
when
Event triggered when specific message received from broadcast.
when I receive
message
Broadcast a message that can be received by any other actor.
broadcast
broadcast
Broadcast a signal(string) that can received by any other actor and then wait for given time.
broadcast
broadcastW
Stop the world, if the provided value is 0 the step is considered failed, otherwise the user is awarded the specified amount of XP.
halt
Function called when actor is started as clone
cloned
Create a clone of the actor. Retains costume, position, and other properties.
cloneAdd
Remove the clone from within cloned.
cloneRm
Return a boolean if the actor is touching the mouse or another actor
touching
touch
Return the Euclidean distance between the actor and the mouse or another actor.
distance to
distance
Return a string containing the user response to the supplied question.
prompt
prompt
Return if the specified key has been pressed
key
keyp
Return if mouse button pressed
mouse down
moused
Return the x position of the mouse pointer
mouse x
mousex
Return the y position of the mouse pointer
mouse
mousey
Reset the timer to 0
reset timer
resetTimer
Return various data on any actor. Available properties are x, y, and z positions, direction, costume index, costume name, size, and volume.
actorData
Time in seconds since the start button was pressed.
current
timed
Return the number of days since January 1st, 2000
days since 2000
days
Return the username of your account, useful for personalised worlds / storylines
username
user
Do a modulus operation on amount1 with amount2. For example 5 % 3 = 2
mod
Round a decimal number to the closest integer (whole number)
round
round
Return the absolute value of the given number
math_op