Hey MuddyMole, I was just playing with your example and I can't get the door placement to work. Seems like right clicking should place a door?
You have to click and drag from one square to another to create a door between them. It was just the simplest way to get the data into the array, to show how the main part of the example works. In practice, you're already going to have an array with all that data from when you created your map.