Use logical IF to select two different lists

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!

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

You can use ScopeIf instead.

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

2 Likes

you guys helped a lot. thanks.