I've been working on a 'digital stopmotion' setup using geometry nodes, it basically cycles through some selected objects to create a stop-motion effect. Currently, it goes through these 5 objects to create a flame, but only does it once since it's based on seconds so the number keeps going up. I'm looking for a way to use the "Number of Meshes" Integer to give it a limit and loop it back to 0.
I know I can use an Integer to just key the numbers going up and down but it would be great to have this automated for more control.
Screenshot with my current setup: