 Horatio is also present during the mousetrap play, the discovery of Ophelia's madness (though the role of an anonymous gentleman-courtier has been substituted in this scene), Hamlet's display at Ophelia's grave, and the final scene.He is the only major character to survive the action of the play.Horatio's role, although secondary, is central to the drama.