Helo: If-else with loop

Hi, how to connect If-else with loop?

That depends on what you are trying to do…

Now that I’m at my computer & can see your program, it looks like you are working on a traffic light. gweimer/traffic-light-advanced is an in-depth tutorial that uses a traffic light example to walk you through quite a few XOD features. To access it, go to the XOD file menu & select Add Library, then type in gweimer/traffic-light-advance. Once the library is added, scroll down to it in the Project Browser window on the left, expand it, and double-click on 0-traffic-simple, then follow through the tutorial. Before you get to the end, you will see examples using buttons as sensors to control the light cycle.