A Switch node is used for more complex conditions. It executes the child nodes of the first case that evaluates to true. If none of the cases evaluate to true, the child nodes of the else case are executed.
In the sample above, the following will happen:
If the expression of Case 1 evaluates to true, the child nodes of Case 1 are executed.
If that is not the case, the expression of Case 2 is evaluated. If that evaluates to true, the child nodes of Case 2 are executed.
If that is also not the case, then the child nodes of Else are executed.
Project script node name