Skip to content

Block reference ​

VERB has 153 logic blocks in 8 categories. Each block reads as a sentence in the Human view and as a node in the Node view (and as a line in the Text view): they are the same logic.

How to read this page

Each block's sentence shows its holes ‹like this›. In the editor, each hole is a drop-down with autocompletion based on the context (the script's scene, the chosen character…). Ctrl+click on a hole jumps to what it references.

Events ​

15 blocks.

Interaction ​

On ‹verb› ‹target›

Fires when the player applies a verb (Look, Use, Talk, Pick up) to a hotspot, object or character in the scene.

  • Type: event.verb
  • Outputs: continue
ParameterTypeDefaultNotes
verb (verb)verbuse
target (target)scene element—

TIP

Create these scripts instantly from the element's inspector (“Scripts of this element”) or by right-clicking it in the scene.

Use item with… ​

On using ‹item› with ‹target›

Fires when an inventory item is used on something in the scene (dragging the key to the door).

  • Type: event.useItem
  • Outputs: continue
ParameterTypeDefaultNotes
item (item)inventory item—
target (target)scene element—

TIP

It is the basis of almost every puzzle: combine it with conditions for different answers depending on progress.

Inventory item ​

On ‹verb› ‹item› from the inventory

Fires when an inventory item is used or looked at on its own (reading a note, turning on the radio, eating something).

  • Type: event.inventory
  • Outputs: continue
ParameterTypeDefaultNotes
verb (verb)verbuse
item (item)inventory item—

TIP

Use: with the “Use” verb in the bar, or by clicking the item again once picked. Look: right-click on it. Without a “look” script, its description is said.

Combine items ​

On combining ‹item A› with ‹item B›

Fires when two inventory items are combined with each other.

  • Type: event.combine
  • Outputs: continue
ParameterTypeDefaultNotes
item A (itemA)inventory item—
item B (itemB)inventory item—

TIP

Simple combinations (A + B → C) need no script: use the item's “Combinations” in Inventory.

On entering scene ​

On entering the scene ‹scene›

Runs every time the player enters the given scene.

  • Type: event.enterScene
  • Outputs: continue
ParameterTypeDefaultNotes
scene (scene)scene—

TIP

Ideal for music, arrival dialogues or checking variables when coming back to a place.

Game start ​

On game start

Runs only once, when a new game starts.

  • Type: event.gameStart
  • Outputs: continue

TIP

Use it for the introduction: a title card, the player's first line and the first objective.

An object is picked up ​

When the player picks up ‹object›

Fires when the player starts dragging a scene object (as soon as it moves; a click without moving is still a normal click).

  • Type: event.drag
  • Outputs: continue
ParameterTypeDefaultNotes
object (prop)scene object—

TIP

The object needs “Can be dragged” turned on in the scene inspector (or an “Allow dragging” from a script).

An object is dropped ​

When the player drops ‹object› on ‹target›

Fires when the player drops an object they were dragging. With a target (hotspot, region, object or character) it only fires if dropped on that target; with no target, anywhere.

  • Type: event.drop
  • Outputs: continue
ParameterTypeDefaultNotes
object (prop)scene object—
target (target)dropTarget—empty = anywhere, optional

TIP

If the object is set to go back to its place and is dropped where no target has a script, it returns to where it was by itself. To snap it into its slot, use “Slide an object” in the script.

Enter region ​

When ‹who› enters ‹region›

Fires when the player steps on a floor region.

  • Type: event.regionEnter
  • Outputs: continue
ParameterTypeDefaultNotes
who (who)regionWhoplayeroptional
region (region)region—

TIP

Traps, music changes by zone or characters who react when you get close.

Leave region ​

When ‹who› leaves ‹region›

Fires when the player leaves a region.

  • Type: event.regionExit
  • Outputs: continue
ParameterTypeDefaultNotes
who (who)regionWhoplayeroptional
region (region)region—

NPC sees the player ​

When ‹character› sees the player within ‹range› pixels

Fires when an NPC sees the player: in front of them (in a cone towards where they face) and closer than the given range.

  • Type: event.sees
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)character—
range (distance)number260empty: 260

TIP

Vision moves and turns with the NPC, so it works for guards on patrol. It fires once each time the player enters their field of view, and not during cutscenes.

NPC changes alert ​

When ‹character› becomes ‹state›

Fires when a guard changes to the chosen state (calm, suspicious or on alert), either because of what they see or because a script sets it. Only when changing to that state: changes to the other two do not fire it.

  • Type: event.alert
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)character—
state (state)alertStatealertempty: alert

TIP

Needs the character’s advanced vision (Behaviour). It runs in addition to whatever is in “On seeing you”.

Countdown ends ​

When the countdown ‹variable› reaches zero

Fires when a countdown reaches zero.

  • Type: event.countdownEnd
  • Outputs: continue
ParameterTypeDefaultNotes
variable (variable)variable—

TIP

It can be a global script (happens in any scene) or a scene script (only if the player is in it).

Player idle ​

When the player has done nothing for ‹seconds› seconds ‹repeat›
  • Type: event.idle
  • Outputs: continue
ParameterTypeDefaultNotes
seconds (seconds)number201 to 600
repeat (repeat)yes/noonce until they do something
moving the mouse (mouse)choicecountswith «does not count», moving the mouse or sliding a finger without pressing does not reset the clock: only clicks, taps, the wheel and keys do. So the protagonist can comment on things even while the player moves the pointer, optional

Callable script ​

When this script is called ‹parameters›

A script with no trigger of its own: it only runs when another script calls it with “Run script” or from a dialogue option. It can declare parameters (character, item, element, text or number) that it receives when called.

  • Type: event.called
  • Outputs: continue
ParameterTypeDefaultNotes
parameters (params)script parameters—optional

TIP

Group repeated sequences (a cutscene, giving an item) so you don't duplicate them. With parameters, a single “Greet” script works for any character: inside, it is chosen as ‹who› and written [param:who] in texts.

Conditions ​

22 blocks.

Has item ​

if the player has ‹item›

Checks whether the player carries an item in the inventory.

  • Type: cond.hasItem
  • Outputs: Yes · No
ParameterTypeDefaultNotes
item (item)inventory item—

TIP

It has two outputs: “Yes” and “No”. Connect each branch to what should happen.

Character has item ​

if ‹character› has ‹item›

Checks whether a specific character carries an item, even if they are not the current player.

  • Type: cond.characterHasItem
  • Outputs: Yes · No
ParameterTypeDefaultNotes
character (character)characterplayer
item (item)inventory item—

TIP

Useful with several playable characters and inventory per character.

Carries on a point ​

if ‹character› carries ‹item› on ‹point›
  • Type: cond.carries
  • Outputs: Yes · No
ParameterTypeDefaultNotes
character (character)characterplayer
item (item)inventory item—
point (point)charAttachanyhand, head… or any, depends on “character”

Has at least N ​

if the player has at least ‹amount› units of ‹item›

Checks whether the player carries at least that amount of an item.

  • Type: cond.itemCount
  • Outputs: Yes · No
ParameterTypeDefaultNotes
amount (amount)number2empty: 1
item (item)inventory item—

TIP

“If they have at least 3 coins” → pay with “Remove 3 units…”.

Container has ​

if ‹container› contains ‹item›

Checks whether a container holds an item.

  • Type: cond.containerHas
  • Outputs: Yes · No
ParameterTypeDefaultNotes
container (container)container—
item (item)inventory item—

TIP

Placement puzzles: “if the scales contain the gold weight”.

Compare variable ​

if ‹variable› ‹comparison› ‹value›

Compares the value of a variable (yes/no, number or text).

  • Type: cond.variable
  • Outputs: Yes · No
ParameterTypeDefaultNotes
variable (variable)variable—
comparison (op)comparison==
value (value)value—depends on “variable”

TIP

Store progress in yes/no variables with clear names: door_open, talked_to_gus.

Object over a target ​

if ‹object› is over ‹target›

Checks whether a scene object is now on top of a target (hotspot, region, object or character), for example after dragging it.

  • Type: cond.propOver
  • Outputs: Yes · No
ParameterTypeDefaultNotes
object (prop)scene object—
target (target)dropTarget—

TIP

Puzzles where several pieces must be placed: on each drop, check whether all of them are in place.

Hints given ​

if at least ‹hints› hints of ‹objective (puzzle)› have been given

Takes the “Yes” branch if at least that many different hints of an objective (puzzle) have been given so far in the game. When the hints run out and the last one is repeated, the repeat does not count.

  • Type: cond.hintsUsed
  • Outputs: Yes · No
ParameterTypeDefaultNotes
hints (count)number1
objective (puzzle) (objective)objective—

TIP

To reward players who solve it without help, or to change what a character says after several hints.

Objectives solved ​

if at least ‹objectives› objectives have been solved

Checks whether at least that number of journal objectives have been completed, whichever they are.

  • Type: cond.objectivesDone
  • Outputs: Yes · No
ParameterTypeDefaultNotes
objectives (count)number1

TIP

To open an area or an ending once the player has made some progress.

Object visible ​

if ‹scene object› is visible

Checks whether a scene object is visible.

  • Type: cond.propVisible
  • Outputs: Yes · No
ParameterTypeDefaultNotes
scene object (prop)scene object—

Inventory item state ​

if ‹item› in the inventory is in the state ‹state›
  • Type: cond.itemState
  • Outputs: Yes · No
ParameterTypeDefaultNotes
item (item)inventory item—
state (state)itemState—depends on “item”

Object state ​

if ‹scene object› is in the state ‹state›

Checks which state a scene object is in (open, closed, on…).

  • Type: cond.propState
  • Outputs: Yes · No
ParameterTypeDefaultNotes
scene object (prop)scene object—
state (state)state—depends on “scene object”

Time of day ​

if it is ‹time›

Checks what time of day it is in the game: dawn, day, dusk or night.

  • Type: cond.timeOfDay
  • Outputs: Yes · No
ParameterTypeDefaultNotes
time (time)choicenight

TIP

It goes with the project’s times of day and with “Change the time of day”. Use it for things that only happen at a certain time: a shop closed at night, a guard who is asleep. Without times of day in the project, it is always day.

Scene visited ​

if the player has been in ‹scene›

Checks whether the player has already been in a scene.

  • Type: cond.sceneVisited
  • Outputs: Yes · No
ParameterTypeDefaultNotes
scene (scene)scene—

NPC sees the player ​

if ‹character› sees the player within ‹range› pixels

Checks whether an NPC can see the player right now (in front of them and within range).

  • Type: cond.sees
  • Outputs: Yes · No
ParameterTypeDefaultNotes
character (character)character—
range (distance)number260

Alert state ​

if ‹character› is ‹state›

Checks which alert state a guard is in right now (calm, suspicious or on alert). Without advanced vision, it uses the last state a script set.

  • Type: cond.alert
  • Outputs: Yes · No
ParameterTypeDefaultNotes
character (character)character—
state (state)alertStatealert

Player in region ​

if the player is in ‹region›

Checks whether the player is currently inside a region (even if it is deactivated).

  • Type: cond.inRegion
  • Outputs: Yes · No
ParameterTypeDefaultNotes
region (region)region—

TIP

For hiding places: “When Bruno sees the player” → “If the player is in the hiding place”, nothing happens.

Current player ​

if the player is ‹character›

Checks which character the player controls (games with several playable characters).

  • Type: cond.currentPlayer
  • Outputs: Yes · No
ParameterTypeDefaultNotes
character (character)character—

Objective state ​

if the objective ‹objective› is ‹status›

Checks the status of a journal objective (active, completed, failed).

  • Type: cond.objective
  • Outputs: Yes · No
ParameterTypeDefaultNotes
objective (objective)objective—
status (status)objective statusdone

Formula (condition) ​

if ‹condition› holds

Takes the “Yes” branch if the formula holds. Replaces several chained conditions.

  • Type: cond.formula
  • Outputs: Yes · No
ParameterTypeDefaultNotes
condition (formula)formula—

TIP

“if (coins >= 10 and has_map) or is_night holds:”. With “and”, “or”, “not” and brackets.

Touch screen ​

if playing on a touch screen

Checks whether the game is being played with a finger on a touch screen.

  • Type: cond.touchScreen
  • Outputs: Yes · No

TIP

To adapt a line or a puzzle: “Tap the lever” on a phone and “Click the lever” on a computer. In test walkthroughs it always takes the “No” branch.

Chance ​

with a ‹percentage› % chance

Takes the “Yes” branch with the given percentage of probability.

  • Type: cond.random
  • Outputs: Yes · No
ParameterTypeDefaultNotes
percentage (percent)number500 to 100 %

TIP

Perfect for varied lines: a parrot that says something different each time.

Scene actions ​

78 blocks.

Say ​

‹character› says ‹wait›: ‹text›

A character says a line: subtitle in the project's style, talk animation or lip-sync, and voice if the line has audio. The selector decides whether the script waits for it to finish (the default) or carries on at the same time.

  • Type: act.say
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
wait (wait)yes/no(waiting)
text (text)translatable text—

TIP

The text goes to the Texts table, so it is translated and voiced from there. “(without waiting)” is for background remarks: a drunk who sings, a parrot that repeats lines while the player explores.

Walk to ​

‹character› walks to ‹destination› ‹wait›

Makes a character walk to a hotspot, object, entrance or character.

  • Type: act.walkTo
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
destination (target)scene element—
wait (wait)yes/noand waits to arrive

TIP

With “without waiting” the script carries on while they walk (useful for several characters at once).

Say one of several ​

‹character› says ‹order› one of these lines: ‹lines separated by \|›

A character says a single line from a list: in order (starting over at the end), at random (without repeating the previous one) or in order staying on the last one.

  • Type: act.sayOneOf
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
order (mode)line ordercycle
lines separated by | (text)translatable text—

TIP

Separate the lines with “|”. Each block remembers where it is, also in saved games: ideal for “looking” at something several times without repeating yourself.

Place instantly ​

‹character› appears at ‹destination› instantly

Instantly places a character at an entrance, hotspot, object or next to another character, without walking.

  • Type: act.teleport
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
destination (target)scene element—

TIP

Ideal after a fade to black or to hide someone. At an entrance, it also takes its facing.

Turn towards ​

‹character› turns towards ‹target›

Turns the character to face a hotspot, object or character.

  • Type: act.faceTarget
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
target (target)scene element—

TIP

No need to work out by hand whether they should face left or right in conversations.

Face direction ​

‹character› faces ‹direction›

Turns a character towards a direction.

  • Type: act.face
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
direction (direction)directiondown

Animation ​

‹character› plays the animation ‹animation› ‹repeat›

Plays a character animation: a standard state, a custom animation or one from the rig/Spine.

  • Type: act.animate
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
animation (anim)character animationinteractdepends on “character”
repeat (loop)yes/noonce

TIP

Create your own animations with the character's “+” (jump, drink…).

Paired animation ​

‹character› goes next to ‹other character›, ‹distance› px away on ‹side›, and they animate together: ‹their animation› and ‹the other's›
  • Type: act.pairAnimate
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
distance (gap)number60
other character (other)character—
side (side)choiceauto
their animation (anim)character animationinteractdepends on “character”
the other's (otherAnim)character animationinteractdepends on “other character”

Carry an item ​

‹character› carries ‹item› on ‹point› ‹until when›
  • Type: act.carryItem
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
item (item)inventory item—
point (point)charAttach—hand, head…, depends on “character”
until when (whileHeld)yes/nowhile they have it

Carry an image ​

‹character› carries the image ‹image› on ‹point›
  • Type: act.carryImage
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
image (image)image—
point (point)charAttach—hand, head…, depends on “character”

Put down what they carry ​

‹character› puts down what they carry on ‹point› ‹then›
  • Type: act.putDown
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
point (point)charAttach—hand, head…, depends on “character”
then (reset)yes/noand is left with nothing

Look at something ​

‹character› looks at ‹what› in ‹transition seconds› seconds ‹wait›
  • Type: act.lookAt
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
what (target)scene element—
transition seconds (seconds)number0.40 = instantly
wait (wait)yes/nowithout waiting

Look at a point ​

‹character› looks at the point (‹x›, ‹y›) in ‹transition seconds› seconds ‹wait›
  • Type: act.lookAtPoint
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
x (x)number480scene px
y (y)number270
transition seconds (seconds)number0.40 = instantly
wait (wait)yes/nowithout waiting

Stop looking ​

‹character› stops looking
  • Type: act.lookStop
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer

Look at what is nearby ​

‹character› ‹look› at what is nearby
  • Type: act.lookAround
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
look (on)yes/nolooks

Skin ​

‹character› puts on the skin ‹skin›
  • Type: act.setSkin
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer
skin (skin)charSkindefaultdepends on “character”

Change scene ​

Go to the scene ‹scene› at the entrance ‹entrance› with ‹transition›

Takes the player to another scene and entrance, with a transition (fade, wipe, iris, cut…).

  • Type: act.changeScene
  • Outputs: continue
ParameterTypeDefaultNotes
scene (scene)scene—
entrance (entrance)entrance—optional, depends on “scene”
transition (transition)transitionfade

Split screen ​

Show the scene ‹scene› on the ‹half› half for ‹seconds› seconds, centered on ‹entrance› ‹wait›
  • Type: act.splitView
  • Outputs: continue
ParameterTypeDefaultNotes
scene (scene)scene—
half (side)choiceright
seconds (seconds)number30 = until removed
entrance (focus)entrance—empty: the center, optional, depends on “scene”
wait (wait)yes/noand wait for it to end

Remove the split screen ​

Remove the split screen
  • Type: act.splitViewEnd
  • Outputs: continue

Back to previous scene ​

Go back to the previous scene with ‹transition›

Takes the player back to the scene they were in before the last change, to the same spot and facing the same way.

  • Type: act.goBack
  • Outputs: continue
ParameterTypeDefaultNotes
transition (transition)transitionfade

TIP

For generic exits (closing a map, leaving a close-up, coming back from a chest's inventory) that don't know which scene the player comes from.

Move character to scene ​

Move ‹character› to the scene ‹scene› at the entrance ‹entrance›

Moves another character to another scene (or removes them from the current one).

  • Type: act.moveCharacter
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)character—
scene (scene)scene—optional
entrance (entrance)entrance—optional, depends on “scene”

Switch player ​

Switch control to ‹character› with a fade of ‹seconds of fade to black› seconds

Changes the character the player controls.

  • Type: act.setPlayer
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)character—
seconds of fade to black (fade)number0.30 = hard cut

Enable region ​

Set the region ‹region› ‹state›

Activates or deactivates a floor region.

  • Type: act.enableRegion
  • Outputs: continue
ParameterTypeDefaultNotes
region (region)region—
state (enabled)yes/noinactive

Obstacle ​

Set ‹obstacle› ‹state›

Activates or clears an obstacle painted in the scene (the ones from the Obstacle tool).

  • Type: act.enableObstacle
  • Outputs: continue
ParameterTypeDefaultNotes
obstacle (obstacle)obstacle—
state (enabled)yes/noclear

TIP

A falling rock, a door that opens or a table that is moved aside. Object obstacles (their “footprint”) already disappear by themselves when the object is hidden.

Change state ​

Set ‹scene object› to the state ‹state› with the sound ‹sound›

Changes the state (and the sprite) of a scene object, optionally with a sound. If it is already in that state (also when asked from another scene), it does nothing: its animation does not restart and its end actions do not repeat.

  • Type: act.setPropState
  • Outputs: continue
ParameterTypeDefaultNotes
scene object (prop)scene object—
state (state)state—depends on “scene object”
sound (sound)sound—optional

Slide an object ​

Slide ‹object› to ‹target› in ‹seconds› seconds

Slides an object of the current scene until it is centred on a target in that scene (hotspot, region, object or character) in the given seconds, and waits for it to arrive. If the object or the target is not in the current scene, it does nothing.

  • Type: act.moveProp
  • Outputs: continue
ParameterTypeDefaultNotes
object (prop)scene object—
target (target)dropTarget—
seconds (seconds)number0.4

TIP

With 0 seconds the object jumps instantly. Its new position is kept in saved games.

Allow or prevent dragging ​

‹action› dragging ‹object›

Allows or prevents the player from dragging a scene object. If it is being dragged when prevented, the object goes back to where it was.

  • Type: act.setDraggable
  • Outputs: continue
ParameterTypeDefaultNotes
action (enabled)yes/noAllow
object (prop)scene object—

TIP

Lock a piece that is already in place so it cannot be moved again. It is kept in saved games.

Give a hint ​

Give the next hint of ‹objective (puzzle)›

Gives the next hint of an objective: the narrator says it and, if the hint asks for it, what it points at is highlighted for a few seconds. If there are no hints left, a notice appears.

  • Type: act.giveHint
  • Outputs: continue
ParameterTypeDefaultNotes
objective (puzzle) (objective)objective—

TIP

Hints are written in each journal objective. Players can also ask for them from the pause menu or the journal.

Highlight ​

Highlight ‹what› for ‹seconds› seconds

Marks a hotspot, region, object or character for a few seconds to draw the player’s attention.

  • Type: act.highlight
  • Outputs: continue
ParameterTypeDefaultNotes
what (target)dropTarget—
seconds (seconds)number5

TIP

Handy in tutorials or after a hint: “Highlight the lever for 5 seconds”.

Change the time of day ​

Change the time to ‹time› in ‹seconds› seconds

Changes the time of day of the game (dawn, day, dusk or night): the scene’s colors move to those of that time over the given seconds.

  • Type: act.setTimeOfDay
  • Outputs: continue
ParameterTypeDefaultNotes
time (time)choicenight
seconds (seconds)number20 = at once

TIP

The time is saved with the game and stays when you change scene. With 0 seconds it changes at once.

Set the alert ​

Leave ‹character› ‹state›

Puts a guard into calm, suspicious or on alert. With advanced vision the guard reacts (stops or goes searching) and the “When … becomes…” scripts fire.

  • Type: act.setAlert
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)character—
state (state)alertStatecalm

TIP

A guard on alert stays that way until a script calms them down with “Leave … calm”.

Next state ​

Move ‹scene object› to its next state

Moves a scene object to its next state, and from the last one back to the first.

  • Type: act.cycleProp
  • Outputs: continue
ParameterTypeDefaultNotes
scene object (prop)scene object—

TIP

Dials, levers, switches, combination wheels: a single block instead of one condition per state.

Show object ​

Show ‹scene object›

Makes a scene object visible.

  • Type: act.showProp
  • Outputs: continue
ParameterTypeDefaultNotes
scene object (prop)scene object—

Hide object ​

Hide ‹scene object›

Hides a scene object (and its automatic obstacle, if it has one).

  • Type: act.hideProp
  • Outputs: continue
ParameterTypeDefaultNotes
scene object (prop)scene object—

Show layer ​

Show the layer ‹layer›

Shows an image layer of the scene (a background, playfield or foreground layer).

  • Type: act.showLayer
  • Outputs: continue
ParameterTypeDefaultNotes
layer (layer)layer—

TIP

Handy when you work with layers exported from your image editor: show or hide whole pieces of the room.

Hide layer ​

Hide the layer ‹layer›

Hides an image layer of the scene.

  • Type: act.hideLayer
  • Outputs: continue
ParameterTypeDefaultNotes
layer (layer)layer—

TIP

The change is kept in saved games.

Change a layer's image ​

Change the image of the layer ‹layer› to ‹new image›

Replaces the image of a layer with another one (leave the image empty to go back to the original).

  • Type: act.setLayerImage
  • Outputs: continue
ParameterTypeDefaultNotes
layer (layer)layer—
new image (image)image—optional

TIP

The same room before and after the fire, or a door layer swapped for its open version. Keep both images the same size.

Enable hotspot ​

Set the hotspot ‹hotspot› ‹state›

Activates or deactivates a hotspot. Deactivated hotspots cannot be pointed at.

  • Type: act.enableHotspot
  • Outputs: continue
ParameterTypeDefaultNotes
hotspot (hotspot)hotspot—
state (enabled)yes/noinactive

Rename ​

Rename ‹what› to ‹new name›

Changes the visible name of a hotspot, scene object, character or inventory item during the game.

  • Type: act.rename
  • Outputs: continue
ParameterTypeDefaultNotes
what (target)something with a name—
new name (text)translatable text—

TIP

“Stranger” becomes “Bruno” when he introduces himself; the “Rusty key” becomes “Clean key” after rubbing it. It is kept in the saved game.

Text above an object ​

Write ‹text› above ‹object›
  • Type: act.propText
  • Outputs: continue
ParameterTypeDefaultNotes
text (text)translatable text—it can carry marks like [var:points]: the text changes by itself when the variable changes
object (prop)scene object—
typeface (font)choice``Google fonts load by themselves and need internet, unless the project brings the file with that name, optional
color (color)light#ffffffoptional

Clear the text of an object ​

Clear the text above ‹object›
  • Type: act.propTextClear
  • Outputs: continue
ParameterTypeDefaultNotes
object (prop)scene object—

Change description ​

Change the description of ‹what› to ‹new description›

Changes what the player says when looking at a hotspot, scene object, character or inventory item.

  • Type: act.describe
  • Outputs: continue
ParameterTypeDefaultNotes
what (target)something with a name—
new description (text)translatable text—

TIP

It only affects the default description: if there is a “On looking at…” script, the script wins.

Add to inventory ​

Add ‹item› to the inventory

Adds an item to the player's inventory.

  • Type: act.addItem
  • Outputs: continue
ParameterTypeDefaultNotes
item (item)inventory item—

Add units ​

Add ‹amount› units of ‹item› to the inventory

Adds several units of a stackable item (coins, arrows, matches). The inventory shows a single slot with the number.

  • Type: act.addItems
  • Outputs: continue
ParameterTypeDefaultNotes
amount (amount)number1
item (item)inventory item—

TIP

Mark the item as “Stackable” in Inventory. With a non-stackable item it is the same as “Add to inventory”.

Remove units ​

Remove ‹amount› units of ‹item› from the inventory

Removes several units of a stackable item. If none are left, it disappears from the inventory.

  • Type: act.removeItems
  • Outputs: continue
ParameterTypeDefaultNotes
amount (amount)number1
item (item)inventory item—

Open container ​

Open the container ‹container›

Opens a container's window: the player takes items out with a click and puts their own in by clicking them in their inventory. The script waits until it is closed.

  • Type: act.openContainer
  • Outputs: continue
ParameterTypeDefaultNotes
container (container)container—

TIP

Containers are created in Inventory → Containers, with their initial contents. What is inside is kept in the saved game.

Put into container ​

Put ‹amount› units of ‹item› into ‹container›

Puts units of an item into a container (without removing them from the inventory).

  • Type: act.containerAdd
  • Outputs: continue
ParameterTypeDefaultNotes
amount (amount)number1
item (item)inventory item—
container (container)container—

Take from container ​

Take ‹amount› units of ‹item› out of ‹container›

Takes units of an item out of a container (they disappear; to give them to the player, also add “Add … to the inventory”).

  • Type: act.containerRemove
  • Outputs: continue
ParameterTypeDefaultNotes
amount (amount)number1
item (item)inventory item—
container (container)container—

Give item ​

Give ‹item› to ‹character›

Passes an item from the current player to another character's inventory.

  • Type: act.giveItem
  • Outputs: continue
ParameterTypeDefaultNotes
item (item)inventory item—
character (character)character—empty: player

TIP

With “Inventory per character” (Settings → Players) each one carries their own: that's how Max can send the card to Lola by radio. With a shared inventory it is the same as “Add to inventory”.

Inventory item state ​

Set ‹item› in the inventory to the state ‹state›
  • Type: act.itemState
  • Outputs: continue
ParameterTypeDefaultNotes
item (item)inventory item—
state (state)itemState—depends on “item”

Swap an item for another ​

Swap ‹item› for ‹new item› in the inventory
  • Type: act.swapItem
  • Outputs: continue
ParameterTypeDefaultNotes
item (item)inventory item—
new item (newItem)inventory item—

Remove from inventory ​

Remove ‹item› from the inventory

Removes an item from the inventory.

  • Type: act.removeItem
  • Outputs: continue
ParameterTypeDefaultNotes
item (item)inventory item—

Sound ​

Play the sound ‹sound›

Plays a sound effect.

  • Type: act.playSound
  • Outputs: continue
ParameterTypeDefaultNotes
sound (sound)sound—
vibrates (haptic)choiceautoon a phone, Android. «The game setting»: what Settings → Mouse and keyboard → Vibration says, optional

Music ​

Play the music ‹music›

Changes the background music (with a fade).

  • Type: act.playMusic
  • Outputs: continue
ParameterTypeDefaultNotes
music (sound)sound—

Stop music ​

Stop the music

Stops the music.

  • Type: act.stopMusic
  • Outputs: continue

Quit the game ​

Quit the game (save what is pending and close the window)

Closes the game: saves what is pending and closes the window.

  • Type: act.quitGame
  • Outputs: continue

TIP

It only closes where there is a window to close, like the desktop game. In the browser and in Play it does nothing, so do not leave an ending that depends on this block alone.

Vibrate ​

Vibrate the phone ‹how much›

Makes the phone vibrate with the chosen strength: light, medium or strong.

  • Type: act.vibrate
  • Outputs: continue
ParameterTypeDefaultNotes
how much (level)choicemediumonly on a phone, Android, and if the player does not turn it off in the Options; it does nothing on a computer or an iPhone

TIP

It only vibrates on Android phones and if the player has not turned it off in Options. On a computer and on iPhone it does nothing.

Lower the music while speaking ​

Lower the music while speaking: ‹when›

Changes when the music goes down while someone speaks: as the project says, only on lines that have a recorded voice, always or never.

  • Type: act.speechDuck
  • Outputs: continue
ParameterTypeDefaultNotes
when (mode)choiceproject

TIP

It is saved with the game. Handy for a specific moment: “never” during a concert, “always” in an important conversation. If the player turns it off in Options, their choice wins.

Set the ambience ​

Set the ambience ‹ambience› with a ‹fade in seconds›-second fade

Changes the ambience sound of the current scene to another one, with a fade. With no sound chosen, it leaves the scene without ambience.

  • Type: act.setAmbience
  • Outputs: continue
ParameterTypeDefaultNotes
ambience (sound)sound—empty: silence
fade in seconds (fade)number1

TIP

The change belongs to this scene and is remembered in the game: when you come back, the one you set keeps playing until you use “Scene ambience”.

Scene ambience ​

Back to the scene's ambience

Goes back to the ambience sound the scene has in the editor, undoing “Set the ambience”.

  • Type: act.resetAmbience
  • Outputs: continue

Looping sound ​

Loop the sound ‹sound› ‹until when›

Starts repeating a sound without stopping: an engine, an alarm, a dripping tap.

  • Type: act.loopSound
  • Outputs: continue
ParameterTypeDefaultNotes
sound (sound)sound—
until when (untilStopped)yes/nountil stopped

TIP

With “until stopped” it keeps playing even if you change scene, until “Stop sound”. With “only in this scene” it goes quiet when you leave.

Stop sound ​

Stop the sound ‹sound› with a ‹fade in seconds›-second fade

Stops a sound that is playing, with a fade. With no sound chosen, it stops every looping sound.

  • Type: act.stopSound
  • Outputs: continue
ParameterTypeDefaultNotes
sound (sound)sound—empty = all loops, empty: all loops, optional
fade in seconds (fade)number0.3

Scene sound ​

‹action› the scene sound ‹positional sound›

Turns a positioned sound of the scene on or off: the ones placed in the Scene Editor that get louder as you approach.

  • Type: act.sceneSound
  • Outputs: continue
ParameterTypeDefaultNotes
action (on)yes/noTurn on
positional sound (sceneSound)sceneSound—

TIP

It is remembered in the game. For a radio that is switched off, a fountain that stops flowing or a machine that starts up.

Sound from something ​

Play the sound ‹sound› from ‹from›

Plays a sound once as if it came from a character, an object or a hotspot: it is quieter the farther away it is, and it comes from the side where it is.

  • Type: act.playSoundFrom
  • Outputs: continue
ParameterTypeDefaultNotes
sound (sound)sound—
from (target)scene element—character, object or zone

TIP

For a door slamming in the background or a phone ringing at the other end of the scene. If it is too far away, it is not heard.

Change the acoustics ​

Change the acoustics to ‹acoustics› (mix ‹mix› %)

Changes the acoustics the world sounds with (a cave, a large hall, a telephone…), with the given mix.

  • Type: act.setAcoustics
  • Outputs: continue
ParameterTypeDefaultNotes
acoustics (preset)acousticsscene
mix (mix)number—empty = its own, 0 to 100 %, empty: its own, optional

TIP

It lasts until the scene changes; the new scene sounds with its own. Choosing the scene’s one undoes the change. Your own acoustics are created in Settings → Sound.

Music volume ​

Set the music to ‹volume› % over ‹seconds› seconds

Raises or lowers the music to a percentage of its normal volume, gradually over the given seconds.

  • Type: act.musicVolume
  • Outputs: continue
ParameterTypeDefaultNotes
volume (volume)number100100 = normal, 0 to 100 %
seconds (seconds)number10 = at once

TIP

It is saved with the game and stays that way until you set it back to 100%. It is separate from the volume the player chooses in Options.

Wait for click ​

Wait for the player to click

Pauses the script until the player clicks.

  • Type: act.waitClick
  • Outputs: continue

Follow character ​

‹character› follows ‹whom›

A character starts following another one (or stops). Followers change scene with the player.

  • Type: act.follow
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)character—
whom (leader)characterplayerempty = stop following, empty: stops following, optional

Skippable cutscene ​

‹start/end› a cutscene the player can skip with Esc

Marks the start or the end of a cutscene that can be skipped with Esc.

  • Type: act.cutscene
  • Outputs: continue
ParameterTypeDefaultNotes
start/end (mode)yes/noStart

TIP

When skipped, lines, waits, walks and effects are completed instantly and the final state is correct.

Player control ​

‹state› player control

While a script runs, the player cannot act. “Give back” lets them play even though the script continues; “Take away” blocks them again.

  • Type: ui.control
  • Outputs: continue
ParameterTypeDefaultNotes
state (state)yes/noReturn

TIP

For living NPCs: an “On entering the scene” script that gives control back and then makes the bartender walk and talk in a loop with waits.

Show/hide interface ​

‹visibility› the interface ‹cinema bars›

Shows or hides the interface (verbs, inventory, menu) and adds or removes cinema bars.

  • Type: ui.hud
  • Outputs: continue
ParameterTypeDefaultNotes
visibility (visible)yes/noHide
cinema bars (bars)yes/nowithout bars

TIP

When starting or loading a game, the interface is shown again and the bars are removed. With bars on, the voice-over, lines and conversation options are placed outside them so they are not covered.

Wait ​

Wait ‹seconds› seconds

Waits a number of seconds.

  • Type: act.wait
  • Outputs: continue
ParameterTypeDefaultNotes
seconds (seconds)number1

Repeat the script ​

Repeat the script from the start

Goes back to the first step of the script.

  • Type: act.repeat
  • Outputs: none

TIP

For looping NPC routines after “Give control back to the player”; they stop by themselves when leaving the scene. In a normal script, the safety limit cuts loops without waits.

Run script ​

Run the script ‹script›

Runs another script (usually a “Callable script”) and waits for it to finish.

  • Type: act.runScript
  • Outputs: continue
ParameterTypeDefaultNotes
script (script)script—

Run script with data ​

Run the script ‹script› with ‹data›

Runs a callable script passing a value for each of its parameters, and waits for it to finish.

  • Type: act.runScriptWith
  • Outputs: continue
ParameterTypeDefaultNotes
script (script)script—
data (args)data for the script—depends on “script”

TIP

From another script with parameters, ‹name› passes on the value it received (chained scripts).

End of game ​

End the game with the message ‹message› ‹retry›

Ends the game showing a final text.

  • Type: act.endGame
  • Outputs: none
ParameterTypeDefaultNotes
message (text)translatable text—
retry (retry)yes/nowithout retryingthe end screen offers to go back to the last checkpoint: when entering the scene or with «Save a checkpoint»

Save a checkpoint ​

Save a checkpoint
  • Type: act.checkpoint
  • Outputs: continue

Back to the checkpoint ​

Go back to the last checkpoint
  • Type: act.rewind
  • Outputs: none

Variables ​

7 blocks.

Set variable ​

Set the variable ‹variable› to ‹value›

Assigns a value to a variable.

  • Type: var.set
  • Outputs: continue
ParameterTypeDefaultNotes
variable (variable)variable—
value (value)value—depends on “variable”

Add to variable ​

Add ‹amount› to the variable ‹variable›

Adds to (or subtracts from, with negatives) a numeric variable.

  • Type: var.add
  • Outputs: continue
ParameterTypeDefaultNotes
amount (amount)number1
variable (variable)variable—

Random number ​

Set the variable ‹variable› to a random number between ‹minimum› and ‹maximum›

Stores a random number in a variable.

  • Type: var.random
  • Outputs: continue
ParameterTypeDefaultNotes
variable (variable)variable—
minimum (min)number1
maximum (max)number6

Countdown ​

Start the countdown ‹variable› from ‹seconds› seconds ‹on screen›

Sets a numeric variable to that many seconds and counts it down one by one. With “showing it on screen” a clock appears at the top with the variable's name.

  • Type: var.countdown
  • Outputs: continue
ParameterTypeDefaultNotes
variable (variable)variable—
seconds (seconds)number30
on screen (visible)yes/noshowing it on screen
above (at)scene object—an object in the scene: the countdown shows on top of it, centered and as tall as it, like a screen, a clock or a bomb. Empty: at the top, in the interface, optional
typeface (font)choice``only above an object. Google fonts load by themselves and need internet, unless the project brings the file with that name, optional
color (color)light#ff3b30only above an object, optional

TIP

It stops while paused, is kept in saved games and continues even if you change scene. When it reaches zero, “When the countdown … reaches zero” fires. You can read what is left with “if time is less than 10”.

Stop countdown ​

Stop the countdown ‹variable›

Stops a countdown (the variable keeps what was left) and removes the clock from the screen.

  • Type: var.countdownStop
  • Outputs: continue
ParameterTypeDefaultNotes
variable (variable)variable—

Calculate with formula ​

Calculate ‹variable› = ‹formula›

Calculates the value of a variable with a one-line formula: variables by name, operations, comparisons and functions.

  • Type: var.formula
  • Outputs: continue
ParameterTypeDefaultNotes
variable (variable)variable—
formula (formula)formula—

TIP

Examples: “damage = strength * 2 + random(1, 6)”, “price = max(1, price - discount)”, “open = has_key and not is_night”. For yes/no variables, whether the formula holds is stored.

Toggle variable ​

Toggle ‹variable›

Flips a yes/no variable.

  • Type: var.toggle
  • Outputs: continue
ParameterTypeDefaultNotes
variable (variable)variable—

Dialogue ​

7 blocks.

Conversation ​

Start the conversation ‹conversation›

Starts a conversation with options (dialogue tree).

  • Type: dlg.start
  • Outputs: continue
ParameterTypeDefaultNotes
conversation (dialogue)conversation—

TIP

Options can have conditions, hide after being chosen, change variables and launch scripts.

Enable/disable option ​

In the conversation ‹conversation›, ‹state› the option ‹option›

Enables or disables a specific option of a conversation from any script.

  • Type: dlg.option
  • Outputs: continue
ParameterTypeDefaultNotes
conversation (dialogue)conversation—
state (enabled)yes/noenable
option (option)conversation option—depends on “conversation”

TIP

Enabling it also shows it again if it was “once” and had already been chosen. That way a new clue opens a new question without creating variables.

Change option text ​

In the conversation ‹conversation›, change the text of the option ‹option› to ‹new text›

Changes the text of a conversation option (what the player chooses and says).

  • Type: dlg.renameOption
  • Outputs: continue
ParameterTypeDefaultNotes
conversation (dialogue)conversation—
option (option)conversation option—depends on “conversation”
new text (text)translatable text—

Title card ​

Show the title card ‹text› for ‹seconds› seconds

Shows a full-screen title card (“Chapter 1”, “Later…”).

  • Type: dlg.title
  • Outputs: continue
ParameterTypeDefaultNotes
text (text)translatable text—
seconds (seconds)number3

Narrator ​

Narrator: ‹text›

Narrator text without a character.

  • Type: dlg.narrate
  • Outputs: continue
ParameterTypeDefaultNotes
text (text)translatable text—

Objective ​

Mark the objective ‹objective› as ‹status›

Activates, completes or fails a journal objective (a notice appears on screen).

  • Type: obj.set
  • Outputs: continue
ParameterTypeDefaultNotes
objective (objective)objective—
status (status)objective statusactive

Read document ​

Show the document ‹document› (saved in the journal)

Shows a readable document (letter, map, book) and keeps it in the journal.

  • Type: doc.open
  • Outputs: continue
ParameterTypeDefaultNotes
document (document)document—

Media ​

10 blocks.

Video ​

Play the video ‹video› ‹skippable›

Plays a full-screen video, skippable or mandatory.

  • Type: media.video
  • Outputs: continue
ParameterTypeDefaultNotes
video (video)video—
skippable (skippable)yes/no(skippable)

Full-screen image ​

Show the image ‹image› for ‹seconds› seconds

Shows a full-screen image for a few seconds.

  • Type: media.image
  • Outputs: continue
ParameterTypeDefaultNotes
image (image)image—
seconds (seconds)number3

Particles ​

Particles ‹emitter›: ‹action›

Turns on, turns off or fires a burst from a particle emitter placed in the scene.

  • Type: fx.emitter
  • Outputs: continue
ParameterTypeDefaultNotes
emitter (emitter)particle emitter—
action (mode)actionon

Scene lighting ​

Light the scene with ‹light› in ‹seconds› seconds

Changes the lighting of the whole scene with a smooth fade. “Normal light” brings back its original look.

  • Type: fx.light
  • Outputs: continue
ParameterTypeDefaultNotes
light (color)light#ffffff
seconds (seconds)number1

TIP

For switch, candle or torch puzzles. It is remembered per scene and in saved games.

Switch on, off or change light ​

‹on› ‹light› with intensity ‹intensity in %› % and color ‹color› in ‹seconds› seconds ‹wait›
  • Type: light.set
  • Outputs: continue
ParameterTypeDefaultNotes
on (on)yes/noSwitch on
light (light)light—
intensity in % (intensity)number00 = its own
color (color)light``
seconds (seconds)number10 = instantly
wait (wait)yes/nowithout waiting

Light beam ​

Beam of ‹light›: ‹how it looks›, opacity ‹beam opacity in %› %, softness ‹edge softening in px› px and ‹fade›, in ‹seconds› seconds ‹wait›
  • Type: light.beam
  • Outputs: continue
ParameterTypeDefaultNotes
light (light)light—
how it looks (mode)choicekeep
beam opacity in % (opacity)number-1-1 = as it is
edge softening in px (softness)number-1-1 = as it is
fade (fade)choicekeep
seconds (seconds)number10 = instantly
wait (wait)yes/nowithout waiting

Light reach ​

Reach of ‹light›: ‹reach in px› px and edge softness ‹edge softness in %› %, in ‹seconds› seconds ‹wait›
  • Type: light.shape
  • Outputs: continue
ParameterTypeDefaultNotes
light (light)light—
reach in px (radius)number00 = as it is; point lights and spotlights
edge softness in % (falloff)number-1-1 = as it is
seconds (seconds)number10 = instantly
wait (wait)yes/nowithout waiting

Move a light ​

Move ‹light› to (‹x›, ‹y›) ‹how› in ‹seconds› seconds ‹wait›
  • Type: light.move
  • Outputs: continue
ParameterTypeDefaultNotes
light (light)light—
x (x)number480the centre of the light, in scene px
y (y)number270
how (how)choiceslide
seconds (seconds)number10 = instantly
wait (wait)yes/nowithout waiting

Light animation ​

Animation of ‹light›: ‹animation›, speed ‹speed› and strength ‹strength in %› %
  • Type: light.anim
  • Outputs: continue
ParameterTypeDefaultNotes
light (light)light—
animation (animate)choicekeep
speed (speed)number01 = normal; 0 = as it is
strength in % (amount)number-1-1 = as it is

Effect on character ​

Play the effect ‹effect› on ‹character›

Fires a one-off particle effect on a character (magic, smoke, poof…).

  • Type: fx.effect
  • Outputs: continue
ParameterTypeDefaultNotes
effect (effect)particle effect—
character (character)characterplayer

Camera ​

9 blocks.

Move camera ​

Move the camera to ‹destination› in ‹seconds› seconds (‹curve›) ‹wait›

Pans the camera to a point or character, with the duration you want (0 = automatic by distance).

  • Type: cam.panTo
  • Outputs: continue
ParameterTypeDefaultNotes
destination (target)scene element—
seconds (seconds)number00 = automatic by distance
curve (ease)choicesmooth
wait (wait)yes/noand wait until it arrives

TIP

With «without waiting» the script continues while the camera moves.

Shift camera ​

Shift the camera ‹right› pixels right and ‹down› down in ‹seconds› seconds (‹curve›) ‹wait›

Shifts the camera some pixels right or down from where it is (negatives go left or up).

  • Type: cam.panBy
  • Outputs: continue
ParameterTypeDefaultNotes
right (dx)number0negative = left
down (dy)number0negative = up
seconds (seconds)number00 = automatic
curve (ease)choicesmooth
wait (wait)yes/noand wait until it arrives

Place camera ​

Place the camera on ‹destination› instantly

Places the camera instantly, centred on a point or character (a cut, no movement).

  • Type: cam.snapTo
  • Outputs: continue
ParameterTypeDefaultNotes
destination (target)scene element—

Camera follows character ​

The camera follows ‹character›

The camera follows a character again.

  • Type: cam.follow
  • Outputs: continue
ParameterTypeDefaultNotes
character (character)characterplayer

Stop following ​

The camera stops following whoever it followed

The camera stops following whoever it followed and stays where it is.

  • Type: cam.stopFollow
  • Outputs: continue

TIP

To anchor it again use «Camera follows character» or «Normal camera».

Zoom ​

Zoom the camera to ׋zoom› in ‹seconds› seconds (‹curve›) ‹wait›

Zooms the camera in or out to the zoom you give (1 = normal, 2 = twice as close) over the time you want.

  • Type: cam.zoom
  • Outputs: continue
ParameterTypeDefaultNotes
zoom (zoom)number1.51 = normal, 2 = twice as close, 0.5 to 4 ×
seconds (seconds)number10 = instantly
curve (ease)choicesmooth
wait (wait)yes/noand wait until it ends

TIP

0 seconds makes an instant change. The zoom goes back to 1 when the scene changes.

Normal camera ​

The camera follows the protagonist again, without zoom, in ‹seconds› seconds ‹wait›

The camera follows the protagonist again and without zoom, with a transition.

  • Type: cam.reset
  • Outputs: continue
ParameterTypeDefaultNotes
seconds (seconds)number10 = instantly
wait (wait)yes/noand wait until it ends

Shake camera ​

Shake the camera for ‹seconds› seconds with strength ‹strength› ‹wait›

Shakes the camera for a few seconds (hits, explosions, roars).

  • Type: cam.shake
  • Outputs: continue
ParameterTypeDefaultNotes
seconds (seconds)number0.5
strength (power)number11 = normal, 0.1 to 5 ×
wait (wait)yes/noand wait
vibrates (haptic)choiceautoon a phone, Android. «The game setting»: what Settings → Mouse and keyboard → Vibration says, optional

Fade ​

Fade ‹type› in ‹seconds› seconds ‹wait›

Fade to or from black.

  • Type: cam.fade
  • Outputs: continue
ParameterTypeDefaultNotes
type (mode)fadeout
seconds (seconds)number1
wait (wait)yes/noand wait

TIP

To keep the black on screen longer, do not chain several fades: use “Wait”. If the screen is already black, a scene change does not lighten it by itself: it stays dark until the “Fade from black”.

Flow ​

5 blocks.

Several things at once ​

Do ‹branches› things at once

Splits the script into several branches that run at once: the first advances to its first wait, then the second, and so on. When all finish, the script continues through «When all are done».

  • Type: flow.parallel
  • Outputs: No · No · No · No · No · No · continue
ParameterTypeDefaultNotes
branches (branches)number22 to 6, 2 to 6

TIP

Fade out while the character keeps walking, without cutting its animation: one branch with «Walk to» and another with the fade.

Repeat several times ​

Repeat ‹times› times

Repeats what hangs from “Repeat” N times. When done, the script continues through “When done”. With 0 times it does not enter the body.

  • Type: flow.repeat
  • Outputs: No · continue
ParameterTypeDefaultNotes
times (times)number3empty: 0

TIP

Knock on the door 3 times: “Repeat 3 times” with “play sound” and “wait 0.5 seconds” inside. Always put something that waits in the body.

Repeat while true ​

Repeat while ‹condition›

Repeats what hangs from “Repeat” while the formula holds; it checks it before each turn. When it stops holding, the script continues through “When done”.

  • Type: flow.while
  • Outputs: No · continue
ParameterTypeDefaultNotes
condition (formula)formula—

TIP

Watch something until it happens: “Repeat while not door_open” with a “wait 0.2 seconds” inside. With no waits, the loop stops by itself after a few thousand steps.

Exit the loop ​

Exit the loop

Cuts the loop it is in and the script continues through that loop’s “When done”. It only makes sense inside a “Repeat”.

  • Type: flow.break
  • Outputs: none

TIP

Inside “Repeat 10 times”, a condition “if carrying the key” with “Exit the loop” on its true branch.

Only the first time ​

Only the first time
  • Type: flow.once
  • Outputs: The first time · Every other time