Hamlet used the "play within a play" as a strategy to reveal King Claudius's guilt. Hamlet performs "The Mousetrap," a play that recreates the events of King Hamlet's death. In Hamlet's eyes, Claudius' response to the play confirms his guilt.