When you meet someone in the Detention Center, they're typically behind the glass. The best way to handle this in PyWright is to load a foreground image of just the window pane, which covers up the lower part of the character's body. Use this code:
fg [name of window pane image] loops=0 nowait
and put it at the begining of a scene, Talk or Present block. It will persist until the end of the block sends you somewhere else in the script.
Unless I missed it, there's no window pane art distributed with PyWright, though. I tested this using one that…uh…fell off the back of a truck *innocent whistling*. If there aren't window panes for both Detention Centers (Phoenix Wright and Apollo Justice versions), I can make it a little side project. Cutting out a transparent rectangle is about my level of graphical expertise.