Flow control nodes
There are some nodes that control the flow of the execution of a Blueprint. These nodes determine the execution path based on conditions. We've already seen the Branch node, which is a commonly used flow control node. Let's learn about the other main types of flow control nodes.
Switch nodes
A switch node determines the flow of execution based on the value of an input variable. There are different types of switch nodes. The next screenshot shows an example of the Switch on Int node:
The Selection input parameter receives an integer value that determines the output pin that will be executed. If the input value has no pin, then the Default pin will execute. You can change the start index in the Details panel of Switch on Int. The output pins are added by using the Add pin + option.
Another type of switch is the Switch on String node, which is shown in the following...