Use logical IF to select two different lists


#1

Hey Guys,

I’m trying to use a logical if node to either output one list or another the same first list is output. Also if I switch the true and false inputs.
When using just two text inputs like on the bottom right its working fine but obviously not with a list of elements.
Do you know a better way or workaround?
Thanks!


#2

The If node looks for matching list length, so it will only output the length of the shortest list.

You can use ScopeIf instead.


#3

If ScopeIf doesn’t cut it (often happens in larger graphs), you can use Clockwork’s ScopeIf+ instead.


#4

you guys helped a lot. thanks.