Ive been hitting my head against the wall and cant seem to get this to work.
I want to use the arrows keys to move from box to box both horizontally and vertically.
I originally had a series of
If yellow1 and left pressed, then move to purple1
If purple1 and left pressed, then move to blue1
If blue1 and left pressed, then move to yellow1, etc
As you can see, this will turn into a significant number of code lines.
In the name of efficiency, I tried setting up a while loop with instance variables that are both active and inactive. While active (=1), the cursor will scroll over them, While inactive (=0), the cursor will skip over them and head to the next instance.
As it stands now, the cursor will cycle through all nine objects... I would like it to recognize columns and rows, but I cant figure out how to do it other than the original way it was set up.
Any assistance would be appreciated.