Set up the wall of curtains around the courtyard. Then put the curtain at the entrance to the courtyard.