Guide / Conditions

Conditions

Conditions are squares with two outputs - "yes" and "no" - that determine which branch the flow continues on.

Condition What it checks Settings
Condition A simple comparison between two sides: == != > < >= <= contains empty notEmpty left required
operator required
right
Compound condition (free text) A free boolean expression with AND / OR / NOT and parentheses expression required
Chance condition (%) A random split - e.g. "20% of the time" continues on the "yes" branch percent required
Check overlap "Yes" when two elements' boxes are touching or overlapping on screen right now - a simple collision check for game-style logic (a bird hitting a pipe, a player touching a coin). Both elements need to actually be on the current screen elementAId, elementBId required

Both the left/right fields and the free-text expression support filters from the "Functions and expressions" chapter - for example inpw|hash to compare an encrypted password without exposing it.