Hi Russ, It can be set in a straight line. I think it comes with wall fixings but I've put a panel at right angles on either end to make a free standing barrier. about 4 or 5 panels wide, one being the gate. I was able to tuck each end behind a piece of furniture so Barney couldn't squeeze around the ends. He can stand with his paws on the top without it falling over.