Issues with my grid

If I’m creating a grid that is 7x7, and putting the end destination at 7,7 and my starting node at 0,0 it crashes. If I instead create a 8x8 grid and put the end destination to 7,7 then it works. Is this intentional?

Might make sense. Think of a zero based array. The end is 6, so a 6,6 last coordinate

Makes sense Bryant, how would I tackle a fix for this though? Start my for loop at -1? :thinking:

This is fixed alter on in the course when exploring script execution order. :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms