Hi, thanks! Wish I fully understood arrays.
This works great, but what I want to do as well is once one of the blocks is selected(overlapped by the selector) I'd like to enable the 8 directional movement for that sprite so I can move it anywhere on the screen. Then when I hit left/right on the keyboard I'd like it select the sprite on the left/right of current position of the selector, rather than the sprite on the left/right of the original position, not sure if this can be done as they are stored in the array in a certain order? Any way to refresh the order of items in the array after I've moved one of the sprites?
e.g.
If I have the sprites set up as below, green is selected and I hit the right key it'll move along: Green > Blue > Pink > Yellow.
Green -- Blue -- Pink -- Yellow
If I select the green sprite and drag it across so it's between the pink and yellow sprites, when I hit the right arrow key it currently moves the selector to blue, I'd like it to move to Yellow. Does that make sense?
Thanks