If( or )statements in Blueprint

Hi about branch node in Blueprint, i want to apply two conditions to branch node at once as using “or”

like

if($a==“spere5”||$a==“sphere6”){
dosomething
}

to acchive the result like below,
among all staticmeshes, objects except sphere5 and sphere6 becomes red

im afraid that im new to c++, i hope for some advices thank you.

thank you

1 Like

Just drag the red output pin from branch and type in OR. You’ll find BOOL OR there.

1 Like