Basically, what I am trying to achieve is movement in array, but I do have some walls, that I don't want the player could teleport over, so I am trying to find out if between the player and the final destination is wall, so I can ban his teleportation.