Looping Actions: freezing on repeater action

Hi All,

I have been working on implementing action looping into my current app project. I copied the same process as Steve in his example found here (Looping with actions). I have tested each sub-action in my loop and they all work fine except for the repeater. For some reason when the repeater action is added to the loop action it will freeze the entire app and editor. It does not freeze at the repeater action but freezes the entire loop. Without the repeater all the other actions will run correctly for one increment. I have been stuck on this problem for a while now and am not sure how to fix it. Has anyone ran into this problem before or have any ideas on how to fix it?

Here is the repeater action

Here is the loop action

Appreciate any feedback you might have.

Thanks!

“Freeezing” indicates your actions ended up with so-called inifinit loop. You probably miss the conditions to stop looping actions.

2 Likes

Hi @maccollaflower,

Just echoing on what @tsuji_koichi suggested – Your Loop Repeator (or Reapeter as you’ve spelled) need to have an if condition to know when to stop, or else it’ll always keep on running and therefore freeze.

Think of when you want it to stop and apply that in your condition.

3 Likes

Thank you both @tsuji_koichi @Manish !

That solved the problem. It slipped my mind that the loop has to come to an end eventually.

Thanks!

5 Likes