In the bathroom minigame, you don't have to get caught; you have to raise the heart bar and not let the eye bar rise too much. That is, when the eye bar gets too high, you have to move the camera to the left or right to lower it.