I have been in a backyard, puppy play dates and they use a metal x-pen and put it around the gate, it work great, because one day Phoebe took off

I was calling and calling her and she didn't want to come

, I guess she was tired and wanted to leave lol, anyway thank God that they had the play pen in front of the gate so she didn't went to far
