Our array size is 10. To change it at the beginning add an On start of layout event.
Add an system (set size of) action for Array, and change the width size of array.
Variable "i" will be used in a decreasing loop. First value for i will be total-1. Add another system action to set the beginning value for i