Change the output based on a condition

This is what Stream Filter is for

(note that you can zoom in on the Filter component to add more inputs, but then you need to feed it a non-binary Gate value, which is not always straightforward)

Stream Filter.gh (7.0 KB)