I'm starting to work with Arrays, and I'm a little lost.
I've got a 9x5 array. And with it, I've created a Grid of blue Sprites.
At the botton left corner, you've got a Martian you can "buy" and place it on the Grid.
Once you've placed it on the Grid, I'd like to store it's UID (or any other value) in the corresponding place on the array.
Also, when you're moving the Martian on the Grid, it snaps to the centre of the blue Sprite. I'm doing it with a ImagePoint. Is there any other (better) way to do it? I've tried using floor() but was unable to make it work.
Download .capx