I have a function that creates objects by using a loop.
0,0 _ 0,1 _ 0,2 _ 0,3
1,0 _ 1,1 _ 1,2 _ 1,3
2,0 _ 2,1 _ 2,2 _ 2,3
3,0 _ 3,1 _ 3,2 _ 3,3
For "X" from 3 to -1:
For "Y" from 3 to -1:
......................................Create tiles... etc
So now I need it to only render when "X" or "Y" loopindex equals 0 or 3.
In other words I want it to only render on the edges of the made grid and not in the center.
I can't find/think of a way to compare the loopindex of each loop or to insert a variable into it somehow.