Skip to content

Logic Flow

Logic Flow actions branch to different events using a switch pattern.

Switch Actions

Actions that end in Switch define a set of conditions to test:

StringSwitch

# Control Description
Target The target to check.
Check The test to perform.
Cases A set of cases to check. Each case is checked in turn.
If a case passes the test, its event is sent.
Default Event Event to send if no cases pass the test.

All Switch actions follow this format, only the test varies.

Actions

Enum Switch

Branch based on enum cases.

String Switch

Branch based on string cases.

Float Switch

Branch based on float ranges or comparisons.

Integer Switch

Branch based on integer cases or ranges.

Vector2 Direction Switch

Branch based on a Vector2 direction sector.