Answer:
The idea of acting a part is important in the play as it helps Hamlet tests the truths of his father's death and thereafter avenge him. Hamlet deliberately feigns madness as he sees much to be gained from it. He uses this to confuse the king and his attendants.