Built-ins

Every registered function has its own page. Use the localized call name; canonical IDs are shared across languages.

The advanced data, files, configuration and network APIs require Creator Pro for IDE/CLI run/build. See permissions and host support.

math

Call Canonical ID
sum math.sum
average math.mean
minimum math.minimum
maximum math.maximum
absolute math.abs
round math.round

simulation

Call Canonical ID
simulationClock simulation.clock
startSimulation simulation.start
pauseSimulation simulation.pause
advanceSimulation simulation.advance
stepSimulation simulation.step
resetSimulation simulation.reset
simulationRate simulation.rate

measurements

Call Canonical ID
measurementSeries measurements.series
recordMeasurement measurements.record
measurementValues measurements.values
clearMeasurements measurements.clear

media

Call Canonical ID
playSound media.playSound
setTrackVolume media.setTrackVolume
setVolume media.setVolume
showImage media.showImage
startSound media.startSound
stopAllSounds media.stopAllSounds
stopTrack media.stopTrack

music

Call Canonical ID
playNote music.playNote
startMelody music.startMelody
startOrchestra music.startOrchestra

network

Call Canonical ID
getWebJSON network.getJSON
getWebText network.getText
httpRequest network.request
openHTTPStream network.openStream
readHTTPStream network.readStream
closeHTTPStream network.closeStream
openWebSocket network.openSocket
sendWebSocket network.sendSocket
receiveWebSocket network.receiveSocket
closeWebSocket network.closeSocket

scene3d

Call Canonical ID
aim3D scene3d.aim
box3D scene3d.box
camera3D scene3d.camera
color3D scene3d.color
cylinder3D scene3d.cylinder
draw3D scene3d.draw
lookAt3D scene3d.lookAt
moveCamera3D scene3d.moveCamera
position3D scene3d.position
remove3D scene3d.remove
clear3D scene3d.reset
solid3D scene3d.solid
sphere3D scene3d.sphere
texture3D scene3d.texture
touching3D scene3d.touching
turn3D scene3d.turn
turnCamera3D scene3d.turnCamera

core

Call Canonical ID
length core.length
say core.print
text core.text

app

Call Canonical ID
exitApp app.exit

storage

Call Canonical ID
deleteData storage.delete
loadData storage.get
savedDataKeys storage.keys
saveData storage.set

collections

Call Canonical ID
repeatList collections.repeat

random

Call Canonical ID
randomInt random.integer

time

Call Canonical ID
wait time.wait

events

Call Canonical ID
after events.after
broadcast events.broadcast
keyPressed events.keyPressed
messageReceived events.messageReceived
pointerClicked events.pointerClicked
pointerPressed events.pointerPressed
pointerReleased events.pointerReleased
pointerX events.pointerX
pointerY events.pointerY
started events.started

input

Call Canonical ID
choose input.choose
keyDown input.keyDown
askYesNo input.readBoolean
ask input.readLine
askNumber input.readNumber

graphics

Call Canonical ID
circle graphics.circle
clearCanvas graphics.clear
drawLine graphics.line
rectangle graphics.rectangle
drawText graphics.text

turtle

Call Canonical ID
clear turtle.clear
forward turtle.forward
home turtle.home
penDown turtle.penDown
penUp turtle.penUp
left turtle.turnLeft
right turtle.turnRight

sprites

Call Canonical ID
hideSprite sprites.hide
showSprite sprites.show

gpio

Call Canonical ID
readPin gpio.read
pinInput gpio.setInput
pinOutput gpio.setOutput
writePin gpio.write

ui

Call Canonical ID
showForm ui.form

data

Call Canonical ID
executeSQL data.execute
querySQL data.query
beginTransaction data.begin
commitTransaction data.commit
rollbackTransaction data.rollback
migrateData data.migrate

files

Call Canonical ID
readFileText files.readText
writeFileText files.writeText
listDirectory files.list

config

Call Canonical ID
configValue config.value
configEnvironment config.environment