Set the array size to the number of frames you want to add and then use the "For Each Element" event with the axes set to X. Now you have two options: Use Array.CurrentElement to add the correct frame, or use the "Compare Current Element" event inside of the loop created above.