After acquiring the role and before Friends aired , Cox was temporarily at risk of being recast because she had also been involved with another sitcom , Muddling Through , at the time , which was ultimately canceled and allowed Cox to remain on Friends .
The character of Rachel Green was played by Jennifer Aniston .