First I want to say that yes, I did look at the FAQ and Searched for an answer, however the only answers couldn't help with my problem.
I have this little set up here where the character can move around the grid. However I need the character to be prevented from moving if an obstacle is in the way. As you can see in the capx I tried using arrays and am using them horribly wrong. Could someone please help me fix this?