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 screenshot. The output values must be added in the ...

Get Blueprints Visual Scripting for Unreal Engine - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.