Switch

Allows for multi-way branching based on the value of an expression
Preview
Preview

Parameters

Inputrequired
Text

Enter the value for the left hand side of the comparison, this input supports full variable parsing and inline functions

Auto Type
Toggle
default:false

By default, values which have not already been typed are treated as text, or string variables.

Enable Auto Type to automatically determine the type for the variable value.

For example:

  • 0 can be auto-typed to a numeric type such as int or long
  • true or false can be auto-typed to a bool