I've trying to randomly spawn some objects with the "while" command in a 4x4 arrangement, and everything goes great until I have to change the "Y" position.
Ideally, it will look like this:
But I'm ending up with this (been trying with only 5 objects atm):
Sometimes I get only one object in the 1st row, and four on the second, etc.
This is my event page:
My logic is the following:
When i>3 (meaning that 4 cards have been laid)
Create object at x,(new Y position, because it is a new row!)
I've been smashing my head against the keyboard for days because of this, any help is greatly appreciated!