How to go chronologically through an array?

I want to go through a list of numbers (like 8, 13, 37 etc.) in order of smallest to largest and use them in my code.

=================================ANSWER====================================

To decrease the delay just copy and paste your iteration loop a couple of times.

Personally, I use a while event.
First if all, I have a normal event that sets a variable iterator to 0
Then I have a while event that has as condition variable iterator smaller than the amount of children in the structure I use as structure. As events, I then proceed to do whatever I want and access the variable via StructureName[Variable (iterator)], and finally add 1 to the variable iterator.
Note that this only works if your structure emulating an array is starting at 0 and your items are all keyed as the number corresponding to their index.

1 Like

Yeah I’ve already tried that, however there is some delay if you use a large numbers like 1000. If its the only option I’m ok with that though.

To decrease the delay just copy and paste your iteration loop a couple of times.