Skip to main content

Actions

Actions are the DO part of an event. They run from top to bottom when the event’s conditions are true. Actions on an object apply to the instances the conditions picked (or to all instances of that object if none were picked). See How events work.

Every value is an expression

Number and text fields accept expressions, e.g. Score + 1, "Score: " + Score, Player.x, random(1, 6). See Expressions.

There are 237 actions, grouped by category as in the action picker.

⚙️ System · 🔢 Variables · ƒ Functions · ⏱️ Time · 🎬 Scene · 🔄 Loops · 🎮 Input · 📦 Object · 🔀 Animator · 🎬 Timeline · 🌐 Language · 🏆 Services · ♨️ Steam · 🔗 Web · 👥 Multiplayer · 🧱 Physics · ❤️ Health · ➰ Curve · 🔤 Text · 🖼️ UI · 🧩 Behaviors · ✨ Particles · ☄️ Effects · 🔊 Audio · 🎥 Camera · 🎚️ Graphics

⚙️ System​

Show message​

Show message ‹Message›

Show a short message on screen.

  • Where: Found under System in the picker.
  • ID: system.log (as saved in project files)
ParameterTypeDefaultNotes
MessageExpression"Hello!"

Log to console​

Log ‹Message›

Write a line to the debug console (🐞 button while playing) without showing it in the game. Great for checking that an event runs, e.g. "Clicked! score = " + Score.

  • Where: Found under System in the picker.
  • ID: system.consoleLog (as saved in project files)
ParameterTypeDefaultNotes
MessageExpression"Event ran"

Show alert​

Alert ‹Message›

Pop up a message box and pause until it is closed. Use it for one-off checks, not every tick.

  • Where: Found under System in the picker.
  • ID: system.alert (as saved in project files)
ParameterTypeDefaultNotes
MessageExpression"Hello!"

Vibrate phone​

Vibrate phone (‹Strength›)

A short buzz you can feel, great with Shake camera. Works on Android phones; ignored on desktop and iPhone.

  • Where: Found under System in the picker.
  • ID: system.vibrate (as saved in project files)
ParameterTypeDefaultNotes
StrengthChoicebumpOptions: Tap (very light), Bump, Hit (strong), Long buzz

Enter fullscreen​

Enter fullscreen
  • Where: Found under System in the picker.
  • ID: system.enterFullscreen (as saved in project files)
  • Parameters: none

Exit fullscreen​

Exit fullscreen
  • Where: Found under System in the picker.
  • ID: system.exitFullscreen (as saved in project files)
  • Parameters: none

Quit game​

Quit game
  • Where: Found under System in the picker.
  • ID: system.quit (as saved in project files)
  • Parameters: none

Lock orientation​

Lock orientation (‹Orientation›)
  • Where: Found under System in the picker.
  • ID: system.lockOrientation (as saved in project files)
ParameterTypeDefaultNotes
OrientationChoiceprojectOptions: Project setting, Landscape, Portrait, Free (rotate with the device)

Pause game​

Pause game

Freeze the game.

  • Where: Found under System in the picker.
  • ID: system.pause (as saved in project files)
  • Parameters: none

Resume game​

Resume game

Unfreeze the game.

  • Where: Found under System in the picker.
  • ID: system.resume (as saved in project files)
  • Parameters: none

Save game​

Save game to slot ‹Slot›
  • Where: Found under System in the picker.
  • ID: system.saveGame (as saved in project files)
ParameterTypeDefaultNotes
SlotTextSave 1

Load game​

Load game from slot ‹Slot›
  • Where: Found under System in the picker.
  • ID: system.loadGame (as saved in project files)
ParameterTypeDefaultNotes
SlotTextSave 1

Delete saved game​

Delete saved game in slot ‹Slot›
  • Where: Found under System in the picker.
  • ID: system.deleteSaveGame (as saved in project files)
ParameterTypeDefaultNotes
SlotTextSave 1

Set group active​

Set group ‹Group› active: ‹Active›

Turn a group of events on or off.

  • Where: Found under System in the picker.
  • ID: system.setGroupActive (as saved in project files)
ParameterTypeDefaultNotes
GroupEvent group
ActiveYes / No (expression)true

Draw point​

Debug: draw point at (‹X›, ‹Y›, ‹Z›)

Debug: draw a small cross at a position to see where it is, e.g. at Enemy.x, Enemy.y, Enemy.z. Shapes are drawn over the game and are for testing.

  • Where: Found under System in the picker.
  • ID: debug.drawPoint (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0
SizeNumber (expression)0.4
ColorColor#ffff00
SecondsNumber (expression)0

Draw line​

Debug: draw line (‹X1›, ‹Y1›, ‹Z1›) → (‹X2›, ‹Y2›, ‹Z2›)

Debug: draw a line between two positions, e.g. from the Player to the Target, to check distances and directions.

  • Where: Found under System in the picker.
  • ID: debug.drawLine (as saved in project files)
ParameterTypeDefaultNotes
X1Number (expression)0
Y1Number (expression)0
Z1Number (expression)0
X2Number (expression)0
Y2Number (expression)0
Z2Number (expression)0
ColorColor#00ff00
SecondsNumber (expression)0

Draw sphere​

Debug: draw sphere at (‹X›, ‹Y›, ‹Z›) radius ‹Radius›

Debug: draw a wire sphere to see a range or radius, e.g. how far an enemy notices you.

  • Where: Found under System in the picker.
  • ID: debug.drawSphere (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0
RadiusNumber (expression)1
ColorColor#00ffff
SecondsNumber (expression)0

Draw circle​

Debug: draw circle at (‹X›, ‹Y›, ‹Z›) radius ‹Radius›

Debug: draw a ring lying flat on the ground at a position, e.g. an area or a spawn radius.

  • Where: Found under System in the picker.
  • ID: debug.drawCircle (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0
RadiusNumber (expression)1
ColorColor#ff00ff
SecondsNumber (expression)0

Draw box​

Debug: draw box at (‹X›, ‹Y›, ‹Z›) size (‹Width›, ‹Height›, ‹Depth›)

Debug: draw a wire box around a position to check a size or an area, e.g. a trigger zone.

  • Where: Found under System in the picker.
  • ID: debug.drawBox (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0
WidthNumber (expression)1
HeightNumber (expression)1
DepthNumber (expression)1
ColorColor#ff8800
SecondsNumber (expression)0

🔢 Variables​

Set variable​

Set ‹Variable› to ‹Value›

Change the value of a global or scene variable.

  • Where: Found under System in the picker.
  • ID: system.setVar (as saved in project files)
ParameterTypeDefaultNotes
VariableVariable
ValueExpression0

Add to variable​

Add ‹Value› to ‹Variable›

Increase a variable (text variables get the value appended).

  • Where: Found under System in the picker.
  • ID: system.addToVar (as saved in project files)
ParameterTypeDefaultNotes
VariableVariable
ValueExpression1

Subtract from variable​

Subtract ‹Value› from ‹Variable›

Decrease a number variable.

  • Where: Found under System in the picker.
  • ID: system.subtractFromVar (as saved in project files)
ParameterTypeDefaultNotes
VariableVariable
ValueExpression1

Toggle variable​

Toggle ‹Variable›

Flip a true/false variable.

  • Where: Found under System in the picker.
  • ID: system.toggleVar (as saved in project files)
ParameterTypeDefaultNotes
VariableVariable

Save value​

Save ‹Value› as ‹Save name›

Store a value on the device (kept after closing the game). Empty value = the variable with the same name as the key.

  • Where: Found under System in the picker.
  • ID: system.save (as saved in project files)
ParameterTypeDefaultNotes
Save nameTextHighscore
ValueExpressionOptional.

Load value​

Load ‹Save name› into ‹Variable›

Read a saved value into a variable (nothing happens if it was never saved). Empty variable = same name as the key.

  • Where: Found under System in the picker.
  • ID: system.load (as saved in project files)
ParameterTypeDefaultNotes
Save nameTextHighscore
VariableVariableOptional.

Set instance variable​

Set ‹Object›.‹Instance variable› to ‹Value›

Change one of the object's own variables.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setVar (as saved in project files)
ParameterTypeDefaultNotes
Instance variableVariableAn instance variable of the object.
ValueExpression0

Add to instance variable​

Add ‹Value› to ‹Object›.‹Instance variable›

Increase one of the object's own variables.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.addToVar (as saved in project files)
ParameterTypeDefaultNotes
Instance variableVariableAn instance variable of the object.
ValueExpression1

Subtract from instance variable​

Subtract ‹Value› from ‹Object›.‹Instance variable›

Decrease one of the object's own variables.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.subtractFromVar (as saved in project files)
ParameterTypeDefaultNotes
Instance variableVariableAn instance variable of the object.
ValueExpression1

ƒ Functions​

Call function​

Call ‹Function›

Run a function block (made with Add → Function) with values for its parameters.

  • Where: Found under System in the picker.
  • ID: system.callFunction (as saved in project files)
ParameterTypeDefaultNotes
FunctionFunction

Set return value​

Set return value to ‹Value›

Inside a function: the value that Functions.Name(...) gives back.

  • Where: Found under System in the picker.
  • ID: system.setReturnValue (as saved in project files)
ParameterTypeDefaultNotes
ValueExpression0

Call script function​

Call ‹Object› script ‹Script name›.‹Function›(‹Argument 1›, ‹Argument 2›, ‹Argument 3›)

Run a function from one of the object's code scripts. In the script, write "export function name(a, b) {…}". Fill only the arguments the function takes. To use its result in a condition or value, write Object.script("Script", "name", a, b) in an expression.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.callScript (as saved in project files)
ParameterTypeDefaultNotes
Script nameTextHealth
FunctionTextheal
Argument 1ExpressionOptional.
Argument 2ExpressionOptional.
Argument 3ExpressionOptional.

⏱️ Time​

Wait​

Wait ‹Seconds› seconds ⏸ Waits

Pause the rest of this event (next actions and sub-events) for a while.

  • Where: Found under System in the picker.
  • ID: system.wait (as saved in project files)
ParameterTypeDefaultNotes
SecondsNumber (expression)1

Wait for previous actions​

Wait for previous actions to complete

Pause the rest of this event until what the actions above it started has finished: a Tween, a Move to position, a play-once animation. Then the next actions run, e.g. slide a panel in, wait, then show its text. Nothing to wait for means no pause. An object destroyed or a tween stopped meanwhile counts as finished.

  • Where: Found under System in the picker.
  • ID: system.waitPrevious (as saved in project files)
  • Parameters: none

Wait until​

Wait until ‹Condition›

Pause the rest of this event (next actions and sub-events) until the expression is true, e.g. Score >= 10 or Door.y > 5. It is checked every tick. If it is already true the event goes on at once. Careful: in an event that runs every tick, a condition that never comes true keeps adding waits.

  • Where: Found under System in the picker.
  • ID: system.waitUntil (as saved in project files)
ParameterTypeDefaultNotes
ConditionExpressionScore >= 10

Set time scale​

Set time scale to ‹Time scale›

1 = normal speed, 0.5 = slow motion, 2 = double speed.

  • Where: Found under System in the picker.
  • ID: system.setTimeScale (as saved in project files)
ParameterTypeDefaultNotes
Time scaleNumber (expression)1

Start timer​

Start timer ‹Timer name› for ‹Seconds› s (repeat: ‹Repeat›)

Start a countdown. Use "On timer finished" to react when it ends.

  • Where: Found under System in the picker.
  • ID: time.startTimer (as saved in project files)
ParameterTypeDefaultNotes
Timer nameTexttimer
SecondsNumber (expression)3
RepeatYes / No (expression)false

Stop timer​

Stop timer ‹Timer name›

Cancel a running timer.

  • Where: Found under System in the picker.
  • ID: time.stopTimer (as saved in project files)
ParameterTypeDefaultNotes
Timer nameTexttimer

🎬 Scene​

Go to scene​

Go to scene ‹Scene›

Switch to another scene.

  • Where: Found under System in the picker.
  • ID: system.goToScene (as saved in project files)
ParameterTypeDefaultNotes
SceneScene

Restart scene​

Restart scene

Start the current scene again from the beginning.

  • Where: Found under System in the picker.
  • ID: system.restartScene (as saved in project files)
  • Parameters: none

🔄 Loops​

Stop loop​

Stop loop

End the loop this event is in (Repeat, For, For each, While) after the current repeat.

  • Where: Found under System in the picker.
  • ID: system.stopLoop (as saved in project files)
  • Parameters: none

🎮 Input​

Rebind control​

Rebind ‹Control (a button, or moveUp / moveDown / moveLeft / moveRight)› (‹Device›)

Waits for the player to press the new key or gamepad button for a control button (jump) or a Move direction (moveUp, moveDown, moveLeft, moveRight). Esc cancels; a key another control had swaps to it. Kept on the player's device.

  • Where: Found under Input in the picker.
  • ID: input.rebind (as saved in project files)
ParameterTypeDefaultNotes
Control (a button, or moveUp / moveDown / moveLeft / moveRight)Textjump
DeviceChoicein useOptions: in use, keyboard, gamepad

Stop waiting for a key​

Stop waiting for a key

Stops Rebind control waiting for a key.

  • Where: Found under Input in the picker.
  • ID: input.cancelRebind (as saved in project files)
  • Parameters: none

Reset controls​

Reset controls ‹Control (empty: all)›

Back to the game's own keys and gamepad buttons: one control, or all when left empty.

  • Where: Found under Input in the picker.
  • ID: input.resetControls (as saved in project files)
ParameterTypeDefaultNotes
Control (empty: all)Text

Set gamepad prompt style​

Gamepad prompts as ‹Style›

Shows gamepad prompts as Xbox, PlayStation, Switch or Steam Deck buttons whatever controller is used, e.g. from an options menu; auto follows the controller in the player's hands again.

  • Where: Found under Input in the picker.
  • ID: input.setPadStyle (as saved in project files)
ParameterTypeDefaultNotes
StyleChoiceautoOptions: auto, xbox, playstation, switch, deck

Show​

Show button ‹Button›

Show an on-screen control button (Scene → Controls) hidden with Hide.

  • Where: Found under Input in the picker.
  • ID: input.showButton (as saved in project files)
ParameterTypeDefaultNotes
ButtonTouch button

Hide​

Hide button ‹Button›

Hide an on-screen control button (Scene → Controls). A hidden button can’t be pressed — not with a finger, keys or a gamepad — so it only works where it makes sense, e.g. only while the player touches the boat.

  • Where: Found under Input in the picker.
  • ID: input.hideButton (as saved in project files)
ParameterTypeDefaultNotes
ButtonTouch button

Set label​

Set button ‹Button› label to ‹Label›

Change the text on an on-screen control button, e.g. “Board” next to the boat and “Leave” while sailing.

  • Where: Found under Input in the picker.
  • ID: input.setButtonLabel (as saved in project files)
ParameterTypeDefaultNotes
ButtonTouch button
LabelExpression"Go"

📦 Object​

Create object​

Create ‹Object / prefab› at (‹X›, ‹Y›, ‹Z›)

Create a new object from a prefab (or copy of an object) at a position. It becomes picked for the next actions.

  • Where: Found under System in the picker.
  • ID: system.create (as saved in project files)
ParameterTypeDefaultNotes
Object / prefabObject / prefab
XNumber (expression)0
YNumber (expression)1
ZNumber (expression)0

Destroy​

Destroy ‹Object›

Remove the object from the game.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.destroy (as saved in project files)
  • Parameters: none

Spawn object​

‹Object› spawns ‹Object / prefab to create› (offset ‹Offset X›, ‹Offset Y›, ‹Offset Z›)

Create an object (prefab) at this object's position (+ offset). The new object becomes picked for the next actions.

  • Where: Found under an object; it can also be used on an object.
  • ID: object.spawn (as saved in project files)
ParameterTypeDefaultNotes
Object / prefab to createObject / prefab
Offset XNumber (expression)0
Offset YNumber (expression)0
Offset ZNumber (expression)0

Set position​

Set ‹Object› position to (‹X›, ‹Y›, ‹Z›)

Teleport the object. Self.x means "keep the current x".

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setPosition (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)Self.x
YNumber (expression)Self.y
ZNumber (expression)Self.z

Move by​

Move ‹Object› by (‹X›, ‹Y›, ‹Z›)

Move the object by an amount (world axes). Multiply by dt for smooth per-second movement.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.move (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0

Move forward​

Move ‹Object› forward ‹Distance›

Move in the direction the object is facing.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.moveForward (as saved in project files)
ParameterTypeDefaultNotes
DistanceNumber (expression)0.1

Move toward object​

Move ‹Object› toward ‹Target› at speed ‹Speed›

Move toward another object (speed in meters per second).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.moveToward (as saved in project files)
ParameterTypeDefaultNotes
TargetObject or #tag
SpeedNumber (expression)2

Move toward position​

Move ‹Object› toward (‹X›, ‹Y›, ‹Z›) at speed ‹Speed›

Move toward a point (speed in meters per second).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.moveTowardPosition (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0
SpeedNumber (expression)2

Move to position​

Move ‹Object› to (‹X›, ‹Z›) at speed ‹Speed›

Walk to a point on the ground over the next frames (speed in meters per second), going around walls and rocks when "Go around walls" is on. A model plays its walk clip (sprint above "Sprint above speed") and idle when it stops, unless "Play walk / idle animations" is off. "On arrived" runs when it gets there. Tap to move: X = touchWorldX, Z = touchWorldZ.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.moveToPosition (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
ZNumber (expression)0
SpeedNumber (expression)3
Go around wallsYes / No (expression)true
Play walk / idle animationsYes / No (expression)true
Sprint above speedNumber (expression)6
Floor height Y (empty = this floor)Number (expression)Optional.

Stop moving​

‹Object› stops moving

Cancel a "Move to position" (it stays where it is, without "On arrived").

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.stopMoving (as saved in project files)
  • Parameters: none

Set rotation​

Set ‹Object› rotation to (‹X›°, ‹Y›°, ‹Z›°)

Set the rotation in degrees.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setRotation (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)Self.rotX
YNumber (expression)Self.rotY
ZNumber (expression)Self.rotZ

Set angle​

Set ‹Object› angle to ‹Angle›°

Turn the object to face a direction (degrees around the vertical axis).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setAngle (as saved in project files)
ParameterTypeDefaultNotes
AngleNumber (expression)0

Rotate by​

Rotate ‹Object› by (‹X›°, ‹Y›°, ‹Z›°)

Turn the object by some degrees. Multiply by dt for smooth per-second rotation.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.rotate (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)5
ZNumber (expression)0

Look at​

‹Object› looks at ‹Target› (upright: ‹Upright›)

Turn the object to face another object.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.lookAt (as saved in project files)
ParameterTypeDefaultNotes
TargetObject or #tag
UprightYes / No (expression)true

Set size​

Set ‹Object› size to (‹X›, ‹Y›, ‹Z›)

Change the size (1 = normal).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setScale (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)1
YNumber (expression)1
ZNumber (expression)1

Set visible​

Set ‹Object› visible: ‹Visible›

Show or hide the object.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setVisible (as saved in project files)
ParameterTypeDefaultNotes
VisibleYes / No (expression)true

Set enabled​

Set ‹Object› enabled: ‹Enabled›

A disabled object is hidden and stops moving/colliding.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setEnabled (as saved in project files)
ParameterTypeDefaultNotes
EnabledYes / No (expression)true

Set color​

Set ‹Object› color to ‹Color›

Change the object's color.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setColor (as saved in project files)
ParameterTypeDefaultNotes
ColorColor#ff0000

Set opacity​

Set ‹Object› opacity to ‹Opacity›

1 = solid, 0 = invisible.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setOpacity (as saved in project files)
ParameterTypeDefaultNotes
OpacityNumber (expression)0.5

Set shader uniform​

Set ‹Object› shader uniform ‹Uniform› to ‹Value›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setUniform (as saved in project files)
ParameterTypeDefaultNotes
UniformShader uniform
ValueExpression0

Tween​

Tween ‹Object› ‹Property› to ‹To› in ‹Seconds› s (‹Easing›)

Smoothly animate position, angle, size or opacity to a value, e.g. size 1.5 with Back for a pop, or Self.y + 2 to rise. Starting another tween of the same property replaces it. On a UI element, x and y are its position on the screen (in canvas pixels, from its anchor), angle its rotation, size its scale and opacity its fade (children follow); z does nothing.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.tween (as saved in project files)
ParameterTypeDefaultNotes
PropertyChoicesizeOptions: Position X, Position Y, Position Z, Angle (°), Size (all axes), Opacity
ToNumber (expression)1.5
SecondsNumber (expression)0.3
EasingChoicebackOptions: Linear, Ease in (speeds up), Ease out (slows down), Ease in and out, Back (overshoots), Elastic (wobbles), Bounce

Set morph target​

Set ‹Object› morph target ‹Morph target› to ‹To (0 to 1)› in ‹Seconds (0 = at once)› s
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setMorph (as saved in project files)
ParameterTypeDefaultNotes
Morph targetTextSmile
To (0 to 1)Number (expression)1
Seconds (0 = at once)Number (expression)0.3

Video​

‹Action› the video on ‹Object›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.videoControl (as saved in project files)
ParameterTypeDefaultNotes
ActionChoiceplayOptions: Play, Pause, Restart, Stop

Set video​

Set ‹Object› video ‹Setting› to ‹Value›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.videoSet (as saved in project files)
ParameterTypeDefaultNotes
SettingChoicetimeOptions: Time (seconds), Speed, Volume (0 … 1), Loop (1 on, 0 off)
ValueNumber (expression)0

Stop tweens​

Stop ‹Object› tweens

Stop every running tween of the object where it is now.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.stopTweens (as saved in project files)
  • Parameters: none

Attach to​

Attach ‹Object› to ‹Attach to›

The object becomes a child of the target and moves with it, e.g. a key the player picked up. It stays where it is; use Set position afterwards to place it relative to the target (0, 0, 0 = the center of the target).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.attachTo (as saved in project files)
ParameterTypeDefaultNotes
Attach toObject or #tag

Enter vehicle​

‹Object› gets into ‹Vehicle (boat or car)›

The object (usually the player) gets into a vehicle — an object with the Boat or Car behavior: it sits in the vehicle’s Seat and rides along, its own movement stops and cameras following it follow the vehicle (the vehicle’s Auto seat and Auto camera settings switch these off if you do them yourself). It does not steer the vehicle: pass the input in with Drive car / Move with input. Undo it all with Exit vehicle.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.enterVehicle (as saved in project files)
ParameterTypeDefaultNotes
Vehicle (boat or car)Object or #tag

Exit vehicle​

‹Object› gets out of its vehicle

Gets out of the vehicle it is in: it is put down beside it (on land if one side has some) and moves on its own again; the vehicle stops being driven.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.exitVehicle (as saved in project files)
  • Parameters: none

Drive car​

Drive ‹Object›: steer ‹Steer (−1 left … 1 right)›, gas ‹Gas (0 … 1)›, brake ‹Brake (0 … 1)›

Drives a Car (Driver "manual"): steer −1 (left) … 1 (right), gas 0 … 1, brake 0 … 1. Use it every tick the controls are held (e.g. under "On button Gas held"); when the event stops running the car coasts. Works with your own buttons, a touch wheel or anything else in events.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.driveCar (as saved in project files)
ParameterTypeDefaultNotes
Steer (−1 left … 1 right)Number (expression)0
Gas (0 … 1)Number (expression)0
Brake (0 … 1)Number (expression)0

Move with input​

Move ‹Object› with input (‹Right / left (−1 … 1)›, ‹Forward / back (−1 … 1)›)

Moves the object like the joystick does, from events: x −1 (left) … 1 (right), y −1 (back) … 1 (forward). Works for a Platformer, Top-down movement or a Boat. They never read the joystick themselves, so pass it in: x = joystickX, y = joystickY. Use it every tick the input is held (e.g. under "On button Left held"); when it stops, the object stops.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setMoveInput (as saved in project files)
ParameterTypeDefaultNotes
Right / left (−1 … 1)Number (expression)0
Forward / back (−1 … 1)Number (expression)0

Simulate control​

Simulate ‹Control› on ‹Object›

Presses one of the movement controls for this tick, like the joystick or a key would: Left / Right steer and strafe, Up is gas / forward, Down is brake / reverse, Jump jumps, Handbrake locks the wheels. Use it every tick the control is held (e.g. under "On button Left held"). Several at once in the same tick stack up, so Left + Up steers and accelerates together. Works on Platformer, Top-down, Car and Boat. They never read the joystick themselves: this and Move with input / Drive car are the only things that move them.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.simulateControl (as saved in project files)
ParameterTypeDefaultNotes
ControlChoiceupOptions: left, right, up, down, forward, back, gas, brake, reverse, jump, handbrake

Detach​

Detach ‹Object›

Let go of an attached object: it stays where it is and moves on its own again.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.detach (as saved in project files)
  • Parameters: none

Play animation​

‹Object› plays animation ‹Animation› (loop: ‹Loop›)

Play a clip of its 3D model, e.g. "walk", "jump" or "die". Loop off = play once and hold the last frame.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.playAnimation (as saved in project files)
ParameterTypeDefaultNotes
AnimationExpression"walk"
LoopYes / No (expression)true

Ragdoll​

‹Object› goes limp (ragdoll: ‹Ragdoll›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.ragdoll (as saved in project files)
ParameterTypeDefaultNotes
RagdollYes / No (expression)true
Shove XNumber (expression)0
Shove YNumber (expression)0
Shove ZNumber (expression)0
Power (0 = limp)Number (expression)0

Set ragdoll power​

‹Object› ragdoll power = ‹Power›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.ragdollPower (as saved in project files)
ParameterTypeDefaultNotes
PowerNumber (expression)1

Push ragdoll part​

‹Object› ragdoll: push "‹Bone name contains›" by (‹X›, ‹Y›, ‹Z›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.ragdollPush (as saved in project files)
ParameterTypeDefaultNotes
Bone name containsTexthead
XNumber (expression)0
YNumber (expression)3
ZNumber (expression)0

Stop animation​

‹Object› stops its animation

Stop the playing model animation.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.stopAnimation (as saved in project files)
  • Parameters: none

Set animation speed​

Set ‹Object› animation speed to ‹Speed›

1 = normal, 0.5 = half speed, 2 = double.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setAnimationSpeed (as saved in project files)
ParameterTypeDefaultNotes
SpeedNumber (expression)1

Set sprite part​

‹Object›: ‹Layer› shows ‹Picture›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setSpritePart (as saved in project files)
ParameterTypeDefaultNotes
LayerExpression"Face"
PictureExpression"Happy"

Set sprite frame​

Show frame ‹Frame (0 = first)› of ‹Object›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setSpriteFrame (as saved in project files)
ParameterTypeDefaultNotes
Frame (0 = first)Number (expression)0

Set tile​

Paint tile ‹Tile (0 = first)› at cell (‹Cell X›, ‹Cell Y›) of ‹Object›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setTile (as saved in project files)
ParameterTypeDefaultNotes
Cell XNumber (expression)0
Cell YNumber (expression)0
Tile (0 = first)Number (expression)0

Erase tile​

Erase the tile at cell (‹Cell X›, ‹Cell Y›) of ‹Object›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.removeTile (as saved in project files)
ParameterTypeDefaultNotes
Cell XNumber (expression)0
Cell YNumber (expression)0

Set component setting​

Set ‹Object› ‹Component›.‹Setting› to ‹Value›

Change any setting of a component, the ones the Inspector shows: pick the component, then the setting (nested ones as material.color), e.g. rigidbody gravityScale to -1 to flip gravity, collider isTrigger, light intensity. What the engine can change on a running object changes at once; anything else rebuilds the object at the end of the frame.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setComponentField (as saved in project files)
ParameterTypeDefaultNotes
ComponentChoicerigidbodyOptions: mesh, camera, light, terrain, water, curve, sprite, tilemap, spriteShape, collider, joint, rigidbody, audio, text, ui, canvas, script, button, toggle, toggleGroup, dropdown, particles, animator, reflectionProbe, lightProbeVolume, navLink, ragdoll, lod, netSync, volume, trail, line, forceField, spriteMask, decalProjector, videoPlayer, windZone, cloth, sight, light2d, shadowCaster2d, areaEffector2d, pointEffector2d, surfaceEffector2d, buoyancyEffector2d, spriteSkin, ik2d, pixelPerfectCamera, director, virtualCamera
SettingComponent settinggravityScale
ValueExpression1

Keep across scenes​

‹Mode› ‹Object› across scenes
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setPersist (as saved in project files)
ParameterTypeDefaultNotes
ModeChoicekeepOptions: Keep, Stop keeping

Set layer​

Set layer of ‹Object› to ‹Layer›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setLayer (as saved in project files)
ParameterTypeDefaultNotes
LayerTextDefault

Add tag​

Add tag ‹Tag› to ‹Object›

Give the object a tag.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.addTag (as saved in project files)
ParameterTypeDefaultNotes
TagTag

Remove tag​

Remove tag ‹Tag› from ‹Object›

Remove a tag from the object.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.removeTag (as saved in project files)
ParameterTypeDefaultNotes
TagTag

🔀 Animator​

Set parameter​

Set ‹Object› animator ‹Parameter› to ‹Value›

Sets a float, int or bool parameter of the object's Animator. Its transitions check it in the same frame.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setAnimatorParam (as saved in project files)
ParameterTypeDefaultNotes
ParameterTextSpeed
ValueExpression1

Set trigger​

Set ‹Object› animator trigger ‹Trigger›

Sets a trigger parameter. The next transition that tests it is taken and uses it up.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setAnimatorTrigger (as saved in project files)
ParameterTypeDefaultNotes
TriggerTextJump

Reset trigger​

Reset ‹Object› animator trigger ‹Trigger›

Unsets a trigger that no transition has used yet.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.resetAnimatorTrigger (as saved in project files)
ParameterTypeDefaultNotes
TriggerTextJump

Play state​

‹Object› animator plays ‹State› (fade ‹Cross-fade (s)› s, layer ‹Layer (0 = Base)›)

Goes to a state straight away, or cross-fades into it over the time given. Layer 0 is the Base Layer; a layer name works too.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.playAnimatorState (as saved in project files)
ParameterTypeDefaultNotes
StateTextIdle
Cross-fade (s)Number (expression)0.25
Layer (0 = Base)Expression0

Set layer weight​

Set ‹Object› animator layer ‹Layer (name or number)› weight to ‹Weight›

How much a layer of the Animator counts: 0 = not at all, 1 = fully. The Base Layer always counts fully.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setAnimatorLayerWeight (as saved in project files)
ParameterTypeDefaultNotes
Layer (name or number)Expression1
WeightNumber (expression)1

🎬 Timeline​

Play timeline​

Play timeline ‹Timeline›
  • Where: Found under System in the picker.
  • ID: timeline.play (as saved in project files)
ParameterTypeDefaultNotes
TimelineTimeline

Pause timeline​

Pause timeline ‹Timeline›
  • Where: Found under System in the picker.
  • ID: timeline.pause (as saved in project files)
ParameterTypeDefaultNotes
TimelineTimeline

Stop timeline​

Stop timeline ‹Timeline›
  • Where: Found under System in the picker.
  • ID: timeline.stop (as saved in project files)
ParameterTypeDefaultNotes
TimelineTimeline

Skip timeline​

Skip timeline ‹Timeline›
  • Where: Found under System in the picker.
  • ID: timeline.skip (as saved in project files)
ParameterTypeDefaultNotes
TimelineTimeline

Jump to time​

Timeline ‹Timeline› jumps to ‹Seconds› s
  • Where: Found under System in the picker.
  • ID: timeline.seek (as saved in project files)
ParameterTypeDefaultNotes
TimelineTimeline
SecondsNumber (expression)0

Set timeline speed​

Set timeline ‹Timeline› speed to ‹Speed›
  • Where: Found under System in the picker.
  • ID: timeline.setSpeed (as saved in project files)
ParameterTypeDefaultNotes
TimelineTimeline
SpeedNumber (expression)1

Play director​

‹Object› plays its timeline

Play the timeline of the object's Playable Director, with the director's Wrap Mode. Use it for a sequence that belongs to an object: a chest opening, a door with a camera shot.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.playDirector (as saved in project files)
  • Parameters: none

Stop director​

‹Object› stops its timeline

Stop the timeline of the object's Playable Director and go back to its start; the camera and subtitles are given back.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.stopDirector (as saved in project files)
  • Parameters: none

🌐 Language​

Set language​

Set language to ‹Language›
  • Where: Found under System in the picker.
  • ID: system.setLanguage (as saved in project files)
ParameterTypeDefaultNotes
LanguageLanguage

🏆 Services​

Unlock achievement​

Unlock achievement ‹Achievement›
  • Where: Found under System in the picker.
  • ID: services.unlockAchievement (as saved in project files)
ParameterTypeDefaultNotes
AchievementAchievement

Add achievement steps​

Add ‹Steps› step(s) to achievement ‹Achievement›
  • Where: Found under System in the picker.
  • ID: services.addSteps (as saved in project files)
ParameterTypeDefaultNotes
AchievementAchievement
StepsNumber (expression)1

Show achievements​

Show achievements
  • Where: Found under System in the picker.
  • ID: services.showAchievements (as saved in project files)
  • Parameters: none

Submit score​

Submit score ‹Score› to ‹Leaderboard›
  • Where: Found under System in the picker.
  • ID: services.submitScore (as saved in project files)
ParameterTypeDefaultNotes
ScoreNumber (expression)0
LeaderboardLeaderboard

Show leaderboard​

Show leaderboard ‹Leaderboard (empty = all)›
  • Where: Found under System in the picker.
  • ID: services.showLeaderboard (as saved in project files)
ParameterTypeDefaultNotes
Leaderboard (empty = all)LeaderboardOptional.

Show banner ad​

Show banner ad at the ‹Position›
  • Where: Found under System in the picker.
  • ID: services.showBanner (as saved in project files)
ParameterTypeDefaultNotes
PositionChoicebottomOptions: Bottom, Top

Hide banner ad​

Hide banner ad
  • Where: Found under System in the picker.
  • ID: services.hideBanner (as saved in project files)
  • Parameters: none

Show full-screen ad​

Show full-screen ad
  • Where: Found under System in the picker.
  • ID: services.showInterstitial (as saved in project files)
  • Parameters: none

Show rewarded ad​

Show rewarded ad
  • Where: Found under System in the picker.
  • ID: services.showRewarded (as saved in project files)
  • Parameters: none

Buy product​

Buy product ‹Product›
  • Where: Found under System in the picker.
  • ID: services.buy (as saved in project files)
ParameterTypeDefaultNotes
ProductProduct

Restore purchases​

Restore purchases
  • Where: Found under System in the picker.
  • ID: services.restore (as saved in project files)
  • Parameters: none

♨️ Steam​

Open Steam overlay​

Open Steam overlay ‹Page›
  • Where: Found under System in the picker.
  • ID: steam.openOverlay (as saved in project files)
ParameterTypeDefaultNotes
PageChoiceOptions: Home, Achievements, Friends, Stats, Players, Community, Settings

Set Steam stat​

Set Steam stat ‹Stat› to ‹Value›
  • Where: Found under System in the picker.
  • ID: steam.setStat (as saved in project files)
ParameterTypeDefaultNotes
StatText
ValueNumber (expression)0

Set rich presence​

Set Steam rich presence ‹Key› to ‹Value›
  • Where: Found under System in the picker.
  • ID: steam.setRichPresence (as saved in project files)
ParameterTypeDefaultNotes
KeyTextstatus
ValueExpression""

🔗 Web​

Send web request​

‹Method› ‹Address›‹Body (text, sent as it is)›‹Name›
  • Where: Found under System in the picker.
  • ID: web.send (as saved in project files)
ParameterTypeDefaultNotes
MethodChoiceGETOptions: GET, POST, PUT, DELETE
AddressExpression"https://"
Body (text, sent as it is)Expression""Optional.
NameTextOptional.

👥 Multiplayer​

Create room​

Create room as ‹Your name›, up to ‹Most players (2 to 8)› players
  • Where: Found under System in the picker.
  • ID: net.create (as saved in project files)
ParameterTypeDefaultNotes
Your nameExpression"Player"
Most players (2 to 8)Number (expression)4
Room code (empty = random; an existing room is joined)Expression""Optional.
Listed for Quick matchChoicenoOptions: no, yes

Quick match​

Quick match as ‹Your name›
  • Where: Found under System in the picker.
  • ID: net.quickMatch (as saved in project files)
ParameterTypeDefaultNotes
Your nameExpression"Player"

Join room​

Join room ‹Room code› as ‹Your name›
  • Where: Found under System in the picker.
  • ID: net.join (as saved in project files)
ParameterTypeDefaultNotes
Room codeExpression""
Your nameExpression"Player"

Leave room​

Leave room
  • Where: Found under System in the picker.
  • ID: net.leave (as saved in project files)
  • Parameters: none

Send message​

Send message ‹Message name› with ‹Value (number or text)›‹Value 2›‹Value 3›
  • Where: Found under System in the picker.
  • ID: net.send (as saved in project files)
ParameterTypeDefaultNotes
Message nameTextmove
Value (number or text)Expression0Optional.
Value 2ExpressionOptional.
Value 3ExpressionOptional.

Spawn for everyone​

Spawn ‹Prefab to create› for everyone at (‹X›, ‹Y›, ‹Z›)
  • Where: Found under System in the picker.
  • ID: net.spawn (as saved in project files)
ParameterTypeDefaultNotes
Prefab to createObject / prefab
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0

Set shared value​

Set shared ‹Name› to ‹Value›
  • Where: Found under System in the picker.
  • ID: net.setShared (as saved in project files)
ParameterTypeDefaultNotes
NameTextround
ValueExpression0

Add to shared value​

Add ‹Amount› to shared ‹Name›
  • Where: Found under System in the picker.
  • ID: net.addShared (as saved in project files)
ParameterTypeDefaultNotes
NameTextscore
AmountExpression1

Take control​

‹Object› is taken over by me
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: net.claim (as saved in project files)
  • Parameters: none

🧱 Physics​

Set spin​

Set ‹Object› spin to (‹X›, ‹Y›, ‹Z›) °/s
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setSpin (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0

Set velocity​

Set ‹Object› velocity to (‹X›, ‹Y›, ‹Z›)

Set the physics speed on each axis (needs a Rigid body).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setVelocity (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)Self.vx
YNumber (expression)Self.vy
ZNumber (expression)Self.vz

Push (impulse)​

Push ‹Object› by (‹X›, ‹Y›, ‹Z›)

Give the object a sudden push (needs a Rigid body).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.applyImpulse (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)5
ZNumber (expression)0

Break joint​

Break ‹Object› joint
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.breakJoint (as saved in project files)
  • Parameters: none

Set joint motor​

Drive ‹Object› joint motor at ‹Speed (°/s, slider m/s)› (force ‹Max force›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setJointMotor (as saved in project files)
ParameterTypeDefaultNotes
Speed (°/s, slider m/s)Number (expression)90
Max forceNumber (expression)1000

Stop joint motor​

Stop ‹Object› joint motor
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.stopJointMotor (as saved in project files)
  • Parameters: none

Apply force​

Apply force (‹X›, ‹Y›, ‹Z›) to ‹Object›

Push continuously (use every tick; needs a Rigid body).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.applyForce (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)10
ZNumber (expression)0

Jump​

‹Object› jumps (strength ‹Strength›)

Jump up, only when standing on the ground (needs a Rigid body).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.jump (as saved in project files)
ParameterTypeDefaultNotes
StrengthNumber (expression)7

❤️ Health​

Damage​

Damage ‹Object› by ‹Amount› (from ‹From (optional)›)

Take health from the object (it needs the Health behavior). "From" is what hit it, e.g. Bullet: with Knockback on, it is pushed away from that.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.damage (as saved in project files)
ParameterTypeDefaultNotes
AmountNumber (expression)1
From (optional)Object or #tagOptional.

Heal​

Heal ‹Object› by ‹Amount›

Give the object health back, up to its Max health (it needs the Health behavior).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.heal (as saved in project files)
ParameterTypeDefaultNotes
AmountNumber (expression)1

➰ Curve​

Set curve progress​

Set ‹Object› curve progress to ‹Progress (0 start … 1 end)›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setCurveProgress (as saved in project files)
ParameterTypeDefaultNotes
Progress (0 start … 1 end)Number (expression)0

Play / pause curve​

‹Object› curve: ‹Do›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.playCurve (as saved in project files)
ParameterTypeDefaultNotes
DoChoiceplayOptions: Play, Pause, Restart from the start

🔤 Text​

Set text​

Set ‹Object› text to ‹Text›

Change the text shown by a text object.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setText (as saved in project files)
ParameterTypeDefaultNotes
TextExpression"Hello"

Set text​

Set text of ‹Object› to ‹Text›

Change the text of an object with a Text component, e.g. "Score: " + Score.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: text.setText (as saved in project files)
ParameterTypeDefaultNotes
TextExpression"Score: " + Score

Append text​

Append ‹Text› to text of ‹Object›

Add text at the end of the current text.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: text.appendText (as saved in project files)
ParameterTypeDefaultNotes
TextExpression"!"

Set text from key​

Set ‹Object› text to the text of key ‹Key›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setTextKey (as saved in project files)
ParameterTypeDefaultNotes
KeyText

🖼️ UI​

Show​

Show ‹Object›

Show a UI element or a whole screen (and everything inside it).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.show (as saved in project files)
  • Parameters: none

Hide​

Hide ‹Object›

Hide a UI element or a whole screen.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.hide (as saved in project files)
  • Parameters: none

Show / hide​

Toggle ‹Object› visible

Show it if hidden, hide it if shown.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.toggle (as saved in project files)
  • Parameters: none

Set label​

Set ‹Object› label to ‹Text›

Change the text of a label or button, e.g. "Lives: " + Lives.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setText (as saved in project files)
ParameterTypeDefaultNotes
TextExpression"Hello"

Set position​

Set ‹Object› position to (‹X›, ‹Y›)

Move a UI element on the screen: x (right) and y (up) are its Rect Transform’s anchored position, in canvas pixels from its anchor, the same numbers as in the inspector. Leave a field empty to keep that axis. For a smooth slide use Tween (x / y) instead.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setPosition (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)Optional.
YNumber (expression)Optional.

Set screen position​

Set ‹Object› screen position to (‹X›, ‹Y›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setScreenPosition (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)Optional.
YNumber (expression)Optional.

Set size​

Set ‹Object› size to (‹Width›, ‹Height›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setSize (as saved in project files)
ParameterTypeDefaultNotes
WidthNumber (expression)Optional.
HeightNumber (expression)Optional.

Set anchors​

Set ‹Object› anchors to (‹Min X›, ‹Min Y›) – (‹Max X›, ‹Max Y›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setAnchors (as saved in project files)
ParameterTypeDefaultNotes
Min XExpression0.5
Min YExpression0.5
Max XExpression0.5
Max YExpression0.5

Set pivot​

Set ‹Object› pivot to (‹X›, ‹Y›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setPivot (as saved in project files)
ParameterTypeDefaultNotes
XExpression0.5
YExpression0.5

Move to element​

Move ‹Object› onto ‹Element› (offset ‹Offset X›, ‹Offset Y›)
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.moveTo (as saved in project files)
ParameterTypeDefaultNotes
ElementObject or #tag
Offset XExpression0
Offset YExpression0

Put inside​

Put ‹Object› inside ‹Element›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setParent (as saved in project files)
ParameterTypeDefaultNotes
ElementObject or #tag

Set HTML content​

Set ‹Object› HTML ‹Selector› to ‹Content› as ‹As›

Set the content of part of an HTML element. As text is safe for anything a player typed; as HTML it becomes markup.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setHTMLContent (as saved in project files)
ParameterTypeDefaultNotes
SelectorExpression""
ContentExpression"Hello"
AsChoicetextOptions: Text, HTML

Set HTML attribute​

Set ‹Object› HTML ‹Selector› attribute ‹Attribute› to ‹Value›

Set or remove an attribute of part of an HTML element, e.g. an image's src or a button's disabled.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setHTMLAttribute (as saved in project files)
ParameterTypeDefaultNotes
SelectorExpression""
AttributeExpression"title"
ValueExpression""
DoChoicesetOptions: Set, Remove

Set HTML style​

Set ‹Object› HTML ‹Selector› style ‹Property› to ‹Value›

Set one CSS property on part of an HTML element.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setHTMLStyle (as saved in project files)
ParameterTypeDefaultNotes
SelectorExpression""
PropertyExpression"color"
ValueExpression"red"

Set HTML class​

‹Do› class ‹Class› on ‹Object› HTML ‹Selector›

Add, remove or switch a CSS class on part of an HTML element.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setHTMLClass (as saved in project files)
ParameterTypeDefaultNotes
SelectorExpression""
ClassExpression"active"
DoChoiceaddOptions: Add, Remove, Switch

Set selected option​

Set ‹Object› option to ‹Option›

Choose a dropdown option by its number (from 0). On value changed fires when it is another one.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setOption (as saved in project files)
ParameterTypeDefaultNotes
OptionExpression0

Add option​

Add option ‹Text› to ‹Object›

Add an option at the end of a dropdown list, e.g. one per save slot.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.addOption (as saved in project files)
ParameterTypeDefaultNotes
TextExpression"Option"

Clear options​

Clear ‹Object› options

Empty a dropdown list before filling it again.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.clearOptions (as saved in project files)
  • Parameters: none

Set toggle​

Set ‹Object› ‹State›

Turn a toggle on or off, or switch it, as a tap would. In a Toggle group the others turn off, and On value changed fires.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setOn (as saved in project files)
ParameterTypeDefaultNotes
StateChoiceonOptions: on, off, switch

Set slider value​

Set ‹Object› value to ‹Value›

Set a slider or bar value, e.g. health or time left.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setValue (as saved in project files)
ParameterTypeDefaultNotes
ValueExpression100

Add to slider value​

Add ‹Amount› to ‹Object› value

Add (or subtract with a negative number) to a slider. Stays between its min and max.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.addValue (as saved in project files)
ParameterTypeDefaultNotes
AmountExpression-10

Set slider maximum​

Set ‹Object› max to ‹Maximum›

Set the maximum of a slider.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setMax (as saved in project files)
ParameterTypeDefaultNotes
MaximumExpression100

Set slider minimum​

Set ‹Object› min to ‹Minimum›

Set the minimum of a slider (0 by default).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setMin (as saved in project files)
ParameterTypeDefaultNotes
MinimumExpression0

Enable / disable​

Set ‹Object› interactable ‹Interactable›

Grey out a button or slider so it takes no input, or turn it back on (Interactable).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setInteractable (as saved in project files)
ParameterTypeDefaultNotes
InteractableYes / No (expression)true

Start typing​

Start typing in ‹Object›

Put the keyboard in this input field, as if the player tapped it (e.g. when a name panel opens).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.focus (as saved in project files)
  • Parameters: none

Select​

Select ‹Object›

Choose the button or slider a controller or the arrow keys are on, e.g. the first button of a panel you just opened.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.select (as saved in project files)
  • Parameters: none

Set image​

Set ‹Object› image to ‹Image›

Change the picture of an image, button or panel.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setImage (as saved in project files)
ParameterTypeDefaultNotes
ImageImage

Set font​

Set ‹Object› font to ‹Font›

Change the font of a label or a button's text to a font in Files. Leave it empty for the default font.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setFont (as saved in project files)
ParameterTypeDefaultNotes
FontFontOptional.

Set background color​

Set ‹Object› background to ‹Color›

Change the background color of a button, panel or bar.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setBackground (as saved in project files)
ParameterTypeDefaultNotes
ColorColor#4f8cff

Set text color​

Set ‹Object› text color to ‹Color›

Change the text color of a label or button.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setTextColor (as saved in project files)
ParameterTypeDefaultNotes
ColorColor#ffffff

Set bar color​

Set ‹Object› bar color to ‹Color›

Change the fill color of a slider or bar.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: ui.setFillColor (as saved in project files)
ParameterTypeDefaultNotes
ColorColor#3ecf8e

🧩 Behaviors​

Enable/disable behavior​

Set ‹Object› behavior ‹Behavior› enabled: ‹Enabled›

Turn one of the object's behaviors on or off.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setBehaviorEnabled (as saved in project files)
ParameterTypeDefaultNotes
BehaviorBehaviorplatformerOptions: platformer, topdown, car, cameraFollow, firstPerson, followCurve, rotate, bullet, sine, follow, destroyOffscreen, draggable
EnabledYes / No (expression)true

Set behavior setting​

Set ‹Object› ‹Behavior›.‹Setting› to ‹Value›

Change a behavior setting, e.g. platformer speed.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setBehaviorParam (as saved in project files)
ParameterTypeDefaultNotes
BehaviorBehaviorplatformerOptions: platformer, topdown, car, cameraFollow, firstPerson, followCurve, rotate, bullet, sine, follow, destroyOffscreen, draggable
SettingTextspeed
ValueExpression5

✨ Particles​

Burst particles​

‹Object› bursts ‹How many› particles

Shoot some particles at once, e.g. sparks on a hit or a puff on landing. Needs a Particles component.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.burstParticles (as saved in project files)
ParameterTypeDefaultNotes
How manyNumber (expression)20

Emit particles with values​

‹Object› emits ‹How many› particles

Shoot particles at once with values of your own instead of those of the Particle System: a velocity (x, y, z in its simulation space: own space for Local, world space for World), size, lifetime or color. Leave a field empty to use that setting of the Particle System; an empty velocity axis counts as 0 once any axis is filled. A position (same space as the velocity) starts them there instead of at the emitter, e.g. at hitX, hitY, hitZ; an empty position axis counts as 0 once any axis is filled.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.emitParticles (as saved in project files)
ParameterTypeDefaultNotes
How manyNumber (expression)20
Velocity XNumber (expression)Optional.
Velocity YNumber (expression)Optional.
Velocity ZNumber (expression)Optional.
Position XNumber (expression)Optional.
Position YNumber (expression)Optional.
Position ZNumber (expression)Optional.
SizeNumber (expression)Optional.
Lifetime (s)Number (expression)Optional.
ColorColorOptional.

Spawn particles here​

Spawn ‹Effect› at ‹Object›

Play a ready-made effect once where the object is, e.g. Sparkles when a coin is collected (works even if you destroy it right after). No Particles component needed.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.spawnParticlesAt (as saved in project files)
ParameterTypeDefaultNotes
EffectChoicesparkleOptions: Sparkles, Fire, Smoke, Explosion, Dust puff, Rain, Confetti, Splash, Bubbles, Magic

Start particles​

‹Object› starts its particles

Start its Particles component. Running it while the emitter is already going has no effect, so it can sit under a condition that holds for many ticks; a one-shot effect such as Explosion plays again once the previous one has finished.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.startParticles (as saved in project files)
  • Parameters: none

Restart particles​

‹Object› restarts its particles

Play its Particles component from the beginning, even if it is already going (bursts again).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.restartParticles (as saved in project files)
  • Parameters: none

Stop particles​

‹Object› stops its particles (‹Flying particles›)

Stop making new particles. The ones already flying finish their life, or go at once.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.stopParticles (as saved in project files)
ParameterTypeDefaultNotes
Flying particlesChoicestopEmittingOptions: Let them finish, Remove them too

Pause particles​

‹Object› pauses its particles

Freeze its particles where they are. "Start particles" carries on from there.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.pauseParticles (as saved in project files)
  • Parameters: none

Clear particles​

Clear ‹Object› particles

Remove every particle it has out right now (it keeps emitting if it was).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.clearParticles (as saved in project files)
  • Parameters: none

Set particle start color​

Set ‹Object› particle start color to ‹Color›

The color new particles start with (Color over Lifetime still multiplies it).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setParticleStartColor (as saved in project files)
ParameterTypeDefaultNotes
ColorColor#ffffff

Set particle start value​

Set ‹Object› particle ‹Setting› to ‹Value›

A start value of new particles: speed (m/s), size (m), lifetime (s), rotation (degrees), gravity modifier, or how fast the whole system runs.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setParticleStart (as saved in project files)
ParameterTypeDefaultNotes
SettingChoicestartSpeedOptions: Start speed, Start size, Start lifetime, Start rotation, Gravity modifier, Simulation speed
ValueNumber (expression)1

Turn particle module on/off​

Turn ‹Object› particle ‹Module› ‹State›

Switch one module of its Particle System on or off while the game runs.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setParticleModule (as saved in project files)
ParameterTypeDefaultNotes
ModuleChoicenoiseOptions: Emission, Shape, Velocity over Lifetime, Limit Velocity over Lifetime, Inherit Velocity, Lifetime by Emitter Speed, Force over Lifetime, Color over Lifetime, Color by Speed, Size over Lifetime, Size by Speed, Rotation over Lifetime, Rotation by Speed, External Forces, Noise, Collision, Triggers, Sub Emitters, Texture Sheet Animation, Lights, Trails, Custom Data
StateChoiceonOptions: On, Off

Set particle rate​

Set ‹Object› particles per second to ‹Per second›

How many particles it makes per second, e.g. a bigger fire or a stronger engine trail.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setParticleRate (as saved in project files)
ParameterTypeDefaultNotes
Per secondNumber (expression)20

Spawn particles​

Spawn ‹Effect› at (‹X›, ‹Y›, ‹Z›)

Play a ready-made effect once at a position, e.g. an Explosion at Enemy.x, Enemy.y, Enemy.z. No object needed.

  • Where: Found under System in the picker.
  • ID: particles.spawn (as saved in project files)
ParameterTypeDefaultNotes
EffectChoicesparkleOptions: Sparkles, Fire, Smoke, Explosion, Dust puff, Rain, Confetti, Splash, Bubbles, Magic
XNumber (expression)0
YNumber (expression)1
ZNumber (expression)0

☄️ Effects​

Set line point​

Set ‹Object› line point ‹Point (from 0)› to (‹X›, ‹Y›, ‹Z›)

Move one point of the object's Line renderer, e.g. a laser's end to where it hits. A point past the end makes the line longer.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setLinePoint (as saved in project files)
ParameterTypeDefaultNotes
Point (from 0)Number (expression)1
XNumber (expression)0
YNumber (expression)0
ZNumber (expression)0

Set line point count​

Set ‹Object› line to ‹Points› points

How many points the object's Line renderer has: more copies the last point, fewer drops points from the end.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setLinePointCount (as saved in project files)
ParameterTypeDefaultNotes
PointsNumber (expression)2

Turn trail on/off​

Turn ‹Object› trail ‹State›

Start or stop the object's Trail renderer leaving a trail (what is already there fades out).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setTrailEmitting (as saved in project files)
ParameterTypeDefaultNotes
StateChoiceonOptions: On, Off

Clear trail​

Clear ‹Object› trail

Remove the trail the object has left so far, e.g. after teleporting it.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.clearTrail (as saved in project files)
  • Parameters: none

Reset cloth​

Reset ‹Object› cloth

Put the object's Cloth back on its plane, hanging still, e.g. when a level starts again or after teleporting it.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.resetCloth (as saved in project files)
  • Parameters: none

🔊 Audio​

Play its sound​

‹Object› plays its sound

Play the sound of the object's Audio component.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.playSound (as saved in project files)
  • Parameters: none

Stop its sound​

‹Object› stops its sound

Stop the sound of the object's Audio component.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.stopSound (as saved in project files)
ParameterTypeDefaultNotes
Fade out (s)Number (expression)0

Play sound​

Play sound ‹Sound› (volume ‹Volume›, loop ‹Loop›)

Play a sound from your assets. In time with the music: on its next beat or bar, so a sting fits the music.

  • Where: Found under Audio in the picker.
  • ID: audio.play (as saved in project files)
ParameterTypeDefaultNotes
SoundSound
VolumeNumber (expression)1
LoopYes / No (expression)false
Mixer group (optional)TextOptional.
PitchNumber (expression)1
Fade in (s)Number (expression)0
In time with the musicChoicenowOptions: At once, On the next beat, On the next bar

Stop sound​

Stop sound ‹Sound (empty = all)› (fade ‹Fade out (s)› s)

Stop a sound (leave empty to stop all sounds).

  • Where: Found under Audio in the picker.
  • ID: audio.stop (as saved in project files)
ParameterTypeDefaultNotes
Sound (empty = all)SoundOptional.
Fade out (s)Number (expression)0

Play music​

Play music ‹Music› (volume ‹Volume›, cross-fade ‹Cross-fade (s)› s)

Plays music, one track at a time: another track cross-fades from the one playing; the same track only changes its volume. Loops unless you turn Loop off. In time with the music: the new track starts on the next beat or bar of the one playing.

  • Where: Found under Audio in the picker.
  • ID: audio.playMusic (as saved in project files)
ParameterTypeDefaultNotes
MusicSound
VolumeNumber (expression)1
Cross-fade (s)Number (expression)1
Mixer group (optional)TextOptional.
LoopYes / No (expression)true
In time with the musicChoicenowOptions: At once (cross-fade), On the next beat, On the next bar

Set music layer​

Set music layer ‹Layer› to ‹Volume› (fade ‹Fade (s)› s)

Adaptive music: fades a layer of the music (a beat made with layers in the beat maker) to a volume, 0 = off, 1 = full, while the music goes on in time. Set before Play music, the music starts that way.

  • Where: Found under Audio in the picker.
  • ID: audio.setMusicLayer (as saved in project files)
ParameterTypeDefaultNotes
LayerTextDrums
VolumeNumber (expression)1
Fade (s)Number (expression)1

Stop music​

Stop music (fade ‹Fade out (s)› s)

Fades the music out over the time given.

  • Where: Found under Audio in the picker.
  • ID: audio.stopMusic (as saved in project files)
ParameterTypeDefaultNotes
Fade out (s)Number (expression)1

Set master volume​

Set master volume to ‹Volume›

0 = silent, 1 = full volume.

  • Where: Found under Audio in the picker.
  • ID: audio.setVolume (as saved in project files)
ParameterTypeDefaultNotes
VolumeNumber (expression)1

Set group volume​

Set ‹Mixer group› volume to ‹Volume› (fade ‹Fade (s)› s)

Sets the volume of a group of the audio mixer (Project settings → Audio mixer), faded over the time given. Master is the master volume.

  • Where: Found under Audio in the picker.
  • ID: audio.setGroupVolume (as saved in project files)
ParameterTypeDefaultNotes
Mixer groupTextMusic
VolumeNumber (expression)1
Fade (s)Number (expression)0

Mute group​

Mute ‹Mixer group›: ‹Muted›

Silences a mixer group, or brings it back at its volume.

  • Where: Found under Audio in the picker.
  • ID: audio.muteGroup (as saved in project files)
ParameterTypeDefaultNotes
Mixer groupTextMusic
MutedYes / No (expression)true

Set group low-pass​

Set ‹Mixer group› low-pass to ‹Cutoff (Hz, 0 = off)› Hz (fade ‹Fade (s)› s)

Muffles a mixer group with a low-pass filter (Hz; 0 = off), e.g. 600 under water.

  • Where: Found under Audio in the picker.
  • ID: audio.setGroupLowpass (as saved in project files)
ParameterTypeDefaultNotes
Mixer groupTextSFX
Cutoff (Hz, 0 = off)Number (expression)800
Fade (s)Number (expression)0.3

Pause all sounds​

Pause all sounds

Pauses every sound where it is, for a pause menu. Resume all sounds carries on.

  • Where: Found under Audio in the picker.
  • ID: audio.pauseAll (as saved in project files)
  • Parameters: none

Resume all sounds​

Resume all sounds

Carries on the sounds paused by Pause all sounds.

  • Where: Found under Audio in the picker.
  • ID: audio.resumeAll (as saved in project files)
  • Parameters: none

🎥 Camera​

Draw layer​

‹Mode› layer ‹Layer› in ‹Object›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: camera.setDrawLayer (as saved in project files)
ParameterTypeDefaultNotes
ModeChoicedrawOptions: Draw, Don't draw, Toggle
LayerTextDefault

Shake camera​

Shake camera (strength ‹Strength›, ‹Seconds› s)

Shake the screen, great for hits and explosions. For a shake that is weaker farther away, use Camera impulse.

  • Where: Found under Camera in the picker.
  • ID: camera.shake (as saved in project files)
ParameterTypeDefaultNotes
StrengthNumber (expression)0.3
SecondsNumber (expression)0.3

Camera impulse​

Camera impulse from ‹Object› (strength ‹Strength›, ‹Seconds› s, radius ‹Radius›)

Shake the camera from an object's place, like Cinemachine's Impulse: full strength there, weaker the farther the camera is, nothing past the radius. Good for explosions and heavy landings.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: camera.impulse (as saved in project files)
ParameterTypeDefaultNotes
StrengthNumber (expression)0.5
SecondsNumber (expression)0.4
RadiusNumber (expression)20

Make live camera​

Make ‹Object› the live camera

Make a Virtual Camera the one the game is seen through: it is switched on and its Priority goes above the others, and the view blends over with its Blend In.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: camera.makeLive (as saved in project files)
  • Parameters: none

Set camera priority​

Set ‹Object› camera priority to ‹Priority›

Change a Virtual Camera's Priority. The enabled one with the highest Priority is live.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: camera.setPriority (as saved in project files)
ParameterTypeDefaultNotes
PriorityNumber (expression)20

Set camera targets​

‹Object› camera follows ‹Follow›, looks at ‹Look At›

Change what a Virtual Camera follows and looks at. Leave one empty to keep what it has.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: camera.setTargets (as saved in project files)
ParameterTypeDefaultNotes
FollowObject or #tag
Look AtObject or #tag

Camera look at​

Camera looks at ‹Target›

Turn the main camera toward an object.

  • Where: Found under Camera in the picker.
  • ID: camera.lookAt (as saved in project files)
ParameterTypeDefaultNotes
TargetObject or #tag

Set camera position​

Set camera position to (‹X›, ‹Y›, ‹Z›)

Move the main camera.

  • Where: Found under Camera in the picker.
  • ID: camera.setPosition (as saved in project files)
ParameterTypeDefaultNotes
XNumber (expression)0
YNumber (expression)6
ZNumber (expression)10

🎚️ Graphics​

Place decal​

Place ‹Look› decal at (‹X›, ‹Y›, ‹Z›)
  • Where: Found under System in the picker.
  • ID: system.placeDecal (as saved in project files)
ParameterTypeDefaultNotes
LookChoicebulletHoleOptions: Bullet hole, Splat, Scorch mark, Crack, Footprint, My image
Image (for My image)ImageOptional.
XNumber (expression)hitX
YNumber (expression)hitY
ZNumber (expression)hitZ
Normal XNumber (expression)hitNormalX
Normal YNumber (expression)hitNormalY
Normal ZNumber (expression)hitNormalZ
Size (m)Number (expression)0.4
ColorColorOptional.
Lifetime (s, 0 = stays)Number (expression)20

Set graphics quality​

Set graphics quality to ‹Level›
  • Where: Found under System in the picker.
  • ID: system.setQuality (as saved in project files)
ParameterTypeDefaultNotes
LevelQuality levelmedium

Set resolution scale​

Set resolution scale to ‹Pixel ratio (0.5 to 3)›
  • Where: Found under System in the picker.
  • ID: system.setResolution (as saved in project files)
ParameterTypeDefaultNotes
Pixel ratio (0.5 to 3)Number (expression)1

Set shadows​

Set shadows ‹State›
  • Where: Found under System in the picker.
  • ID: system.setShadows (as saved in project files)
ParameterTypeDefaultNotes
StateChoiceonOptions: on, off

Set screen effects​

Set screen effects ‹State›
  • Where: Found under System in the picker.
  • ID: system.setEffects (as saved in project files)
ParameterTypeDefaultNotes
StateChoiceoffOptions: on, off

Set screen effect​

Set ‹Setting› to ‹Value› over ‹Seconds to glide (0 = at once)› s
  • Where: Found under System in the picker.
  • ID: system.setScreenEffect (as saved in project files)
ParameterTypeDefaultNotes
SettingChoicevignetteOptions: Vignette (0 to 1), Color fringe (0 to 1), Saturation (0 to 2), Contrast (0.5 to 1.5), Glow strength (0 to 2), Glow spread (0 to 1), Glow above (0 to 3), Focus distance (m), Blur amount (0 to 0.1), Blur limit (0 to 0.05), Occlusion size (0.1 to 2), Occlusion strength (0.2 to 3)
ValueNumber (expression)0.5
Seconds to glide (0 = at once)Number (expression)0

Switch screen effect on or off​

Switch ‹Effect› ‹State›
  • Where: Found under System in the picker.
  • ID: system.toggleScreenEffect (as saved in project files)
ParameterTypeDefaultNotes
EffectChoiceglowOptions: Edge smoothing (FXAA), Glow (bloom), Depth of field, Ambient occlusion
StateChoiceonOptions: on, off

Set graphics option​

Set graphics ‹Option› to ‹Value›
  • Where: Found under System in the picker.
  • ID: system.setGraphicsOption (as saved in project files)
ParameterTypeDefaultNotes
OptionChoicepixelRatioOptions: Resolution scale (pixel ratio), Shadows (1 or 0), Shadow picture size (512, 1024, 2048), Shadow distance (meters), Shadow cascades (0, 2, 3, 4), Glow (1 or 0), Depth of field (1 or 0), Ambient occlusion (1 or 0), Edge smoothing (1 or 0), Color finish (1 or 0), Mirror picture size (0 = off, 128 to 1024), Glass (1 or 0), Lens flares (1 or 0), Max particles, Antialiasing (1 or 0, from next start)
ValueNumber (expression)1

Set max particles​

Set max particles to ‹Count›
  • Where: Found under System in the picker.
  • ID: system.setMaxParticles (as saved in project files)
ParameterTypeDefaultNotes
CountNumber (expression)500

Set antialiasing (smooth edges)​

Set antialiasing ‹State› (from next start)
  • Where: Found under System in the picker.
  • ID: system.setSmoothEdges (as saved in project files)
ParameterTypeDefaultNotes
StateChoiceoffOptions: on, off

Show render texture​

Show render texture ‹Render texture› on ‹Object›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setRenderTexture (as saved in project files)
ParameterTypeDefaultNotes
Render texturerenderTextureOptional.

Focus depth of field on object​

Focus depth of field on ‹Object›
  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.focusDepthOfField (as saved in project files)
  • Parameters: none

Set volume profile​

Set ‹Object› volume profile to ‹Profile›

Put another post-processing profile on a Post-processing Volume (empty = none).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setVolumeProfile (as saved in project files)
ParameterTypeDefaultNotes
ProfilePost-processing profileOptional.

Set volume weight​

Set ‹Object› volume weight to ‹Weight (0 to 1)› over ‹Seconds to glide (0 = at once)› s

How much of a Post-processing Volume counts: 0 = none, 1 = all.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setVolumeWeight (as saved in project files)
ParameterTypeDefaultNotes
Weight (0 to 1)Number (expression)1
Seconds to glide (0 = at once)Number (expression)0

Set light intensity​

Set ‹Object› light intensity to ‹Intensity›

Change a Light's brightness while the game runs (Unity's Light.intensity). Baked lights don't change once the scene is baked: use Realtime or Mixed ones.

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setLightIntensity (as saved in project files)
ParameterTypeDefaultNotes
IntensityNumber (expression)1

Set light color​

Set ‹Object› light color to ‹Color›

Change a Light's color while the game runs (Unity's Light.color).

  • Where: Pick an object (or a #tag) first, then this action.
  • ID: object.setLightColor (as saved in project files)
ParameterTypeDefaultNotes
ColorColor#ffffff

Render texture​

‹Action› render texture ‹Render texture›
  • Where: Found under System in the picker.
  • ID: renderTexture.control (as saved in project files)
ParameterTypeDefaultNotes
ActionChoicepauseOptions: Pause, Resume, Draw once
Render texturerenderTexture