Blocks#

Every block of this toolkit, from its catalog.

base#

Block

Type

What it does

And

and

Holds when all of its inputs hold.

Boolean

boolean

On or off: 1 or 0.

Note

comment

A canvas note or annotation card.

Compare

compare

Compares a with b: greater, less, equal…

Number

constant

A number you set.

Delay

delay

Delays values by delay milliseconds.

Demux

demux

Splits a vector into numbers, one output per name.

If

if

Picks a or b by a condition; on a Step flow, branches the path.

In Range

in_range

Holds when u is between min and max.

Interval

interval

Pulses 1.0 periodically every interval milliseconds.

Key

key

1 while a key is held down in the app.

Key Hold

key_hold

Outputs 1 while a key is held, plus the duration in seconds.

Mux

mux

Joins numbers into one vector, one input per name.

Not

not

Holds when its input doesn’t.

Now

now

Current run clock in milliseconds.

Or

or

Holds when any of its inputs holds.

Text

text

A piece of text you set.

Timeout

timeout

Outputs 1.0 after a delay in milliseconds has elapsed.

To Boolean

to_boolean

Truthiness coercion: non-zero numbers and non-empty values become 1, else 0.

To Number

to_number

Converts any value or text to a number, or uses a fallback.

To Text

to_text

Converts numbers, booleans, or lists to formatted text.

Type Of

type_of

Returns the type name: number, text, vector, table, handle, or empty.

Variable

variable

A variable’s value: constant for the run, or live if the variable is tunable.

Xor

xor

Holds when exactly one of a or b holds.

group#

Block

Type

What it does

In

inport

An input of the subsystem or story it is in: a port on the group’s block outside, named by name, and its value here.

Out

outport

An output of the subsystem or story it is in: what is wired to it leaves by a port on the group’s block outside, named by name.