Elementium Sign in
Contents

Values · Value

Keep between

Keep a number inside two limits.

Free plan math.clamp

In a flow

“Works out keep between whenever a step wired to it needs the answer.”

120 between 0 and 100 → 100

What it does

Keep a number inside two limits. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 1 value later steps can use. Find it under Values in the palette.

When to use it

Use it when a step needs a value worked out first: keep a number inside two limits.

When not to

For a value that never changes, type it into the setting instead of wiring a node.

Typical wiring

Sockets: settings you can wire

Number Number

The number to keep inside the limits, like 120.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 0.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Smallest Number

The lowest it may be, like 0.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 0.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Biggest Number

The highest it may be, like 100.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 100.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Values it gives

Result Number

The number, moved inside the limits if it was outside. e.g. 42

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

Often next

Related in Values

Wires and sockets · Data values · Plans