You don't want to create 24 FOR loops. Instead you want to make a nested FOR loop. Or in other words you have a FOR loop with another FOR loop inside of it. FOR Y = 1 TO 15 FOR X = 1 TO 25 'Code to set up a sprite NEXT X NEXT Y An example is attached. Let me know if you have any problems.