Forum

Looping through enum?

hello out there,

how do I iterate over each item in an enum? I want to grab all webcams I have at the same time. (and place the videos next to each other, turn them on and off, select the one I want etc… )

thanks in advance for your great help and for vl!
clockdiv

1 Like

that looks not too bad… only thing missing seems to be that you need to spread the IOBox going into the loop. So topleft in your screenshot, where you have the spreaded IOBox with one slice, set the sliceocunt to the number of cameras you have and for each slice select a different camera.

1 Like

haha, that was an easy one! thank you, joreg!