Match the elementals next to frames to clear them.
When you have cleared a frame that has a ghost in it, the ghost will run into the neighboring frame. While running away, the ghost will randomly choose a neighboring frame and hide inside of it. While choosing which one to hide in, it’s always random, mice won’t prefer higher layer frames to hide in. When you have cleared a frame that has a ghost inside, and the ghost can’t run into neighboring frames, then this ghost is captured.