IF not passing true

anyone know why this isnt passing the true list?

Because the If node works this way…

It’s passing the true list, but the length is cut to equal the false list. If node is designed for equal length lists in mind.

You can use something like this to overcome this limitation:

3 Likes

I prefer using the Designscript method because of problems with nulls and empty lists, maybe this also solves your problem.

image

i = test ? 0 : 1;
[trueOutput,falseOutput][i];

3 Likes