Sonic the Hedgehog 2 has just been released and has gone on to top the worldwide box office, earning $288 million since its release (per Box Office Mojo). Fans can check the movie out in cinemas, though it may be a better experience to watch the previous Sonic the Hedgehog film first.

RELATED: Chris Hemsworth's 10 Best Movies, According To Letterboxd

One of the stars of the movie, Jim Carrey, is one of Hollywood's most beloved comedic actors, having made a name for himself over the last few decades, starring in popular movies like Bruce Almighty, Ace Ventura, and plenty more. As reported by The Guardian, Carrey has recently talked about retiring from acting, but he will still be remembered for his illustrious career and string of iconic roles.

Liar Liar (1997) - 3.2/5

Stream on AMC+

Jim Carrey beat up in court in Liar Liar.

Liar Liar is a film about a lawyer who has made a career off of lying but is now cursed to say only the truth for one day. In the process, he tries to keep his job and reconnect with his ex-wife and kid, whom he alienated due to his compulsive lying.

Jim Carrey manages to make Fletcher Reede, the lying lawyer, one of Liar Liar's most likable characters. Carrey's enthusiastic brand of physical humor enhances Liar Liar, resulting in a laughter frenzy that served to widen the comedian's popularity.

The Mask (1994) - 3.2/5

Stream on HBO Max

A promotional still of Jim Carrey as The Mask tipping his hat

A clerk's world changes when he discovers a mask with the powers of a god in The Mask. He transforms into a superhuman playboy who exudes charm and confidence while wearing the titular mask. Unfortunately, he also committed a crime while wearing the mask, which enrages a criminal boss who was blamed for the crime.

Jim Carrey takes on the role of Stanley Ipkiss, who after receiving a mask created by the Norse god Loki, transforms into "The Mask," a nefarious green-faced entity. Due to the mask, he can change himself and his surroundings freely. Fans consider it as one of the most hilarious characters Carrey played, due to how Stanley tries to escape the troubles he encounters.

How the Grinch Stole Christmas (2000) - 3.2/5

Stream on HBO Max

The Grinch looking sad in How the Grinch Stole Christmas

The solitary green Grinch attempts to ruin Christmas for the cheerful people of Whoville in this live-action rendition of Dr. Seuss' tale. The Grinch, accompanied by his dog, descends from his hilltop and ventures into town to steal gifts from the Whos but his ambitions are thwarted after meeting a child not scared by him.

Jim Carrey plays the Grinch, the Christmas-hating creature. His tale reveals that he began to despise Christmas after his classmates humiliated him on Christmas day. Some viewers who watched all Grinch adaptations say that Jim Carrey's Grinch was the best version as he did a much better job of setting the scene and fleshing out the story.

Peggy Sue Got Married (1986) - 3.3/5

Stream on Hulu & HBO Max

Nicolas Cage and Jim Carrey in Peggy Sue Got Married

Peggy Sue Got Married is a film about a lady who, after breaking up with her cheating husband, faints and travels back in time 25 years. This was the same time period in which she and her musician ex-husband were about to be married, and as she relives this moment, she notices numerous differences and recognizes her ex-actual husband's true feelings and charms.

RELATED: Dwayne Johnson's 10 Best Movies, According To Letterboxd

Walter Getz, a supporting character, is played by Jim Carrey. Walter Geltz is among the co-musicians of Charlie Bodell, the ex-husband of the protagonist Peggy Sue. This was Carrey's 5th appearance in a film, and while he only appears in a cameo, it is a significant part of his journey to becoming among the most popular actors.

I Love You Phillip Morris (2009) - 3.3/5

Stream on Hulu & Amazon Prime Video

Ewan McGreggor and Jim Carrey in I Love You Phillip Morris

Based on a real-life story, I Love You Phillip Morris narrates the story of a cop man who comes out of his closet after a tragic vehicle accident. After finding a boyfriend and becoming accustomed to a luxury lifestyle, he continues to fund by being a con man. He meets Phillip Morris, an inmate who becomes the love of his life, while incarcerated.

Steven Jay Russell, a cop-turned-con man now serving a life sentence, is played by Jim Carrey. Carrey's performance as Russell is unlike anything else he's ever done, given that he's portrayed outlandish and unstable characters during his career, and that this is his first portrayal of an LGBTQ+ character.

Dumb and Dumber (1994) - 3.4/5

Stream on HBO Max

Jim Carrey and Jeff Daniels in suits in Dumb and Dumber

Dumb and Dumber tells the story of Lloyd Christmas and Harry Dunne, two foolish friends from Rhode Island, who set out on a cross-country trek to Colorado to return a briefcase stuffed with cash to its owner, believing it had been left as a mistake when it was actually intended to be left as a ransom.

Lloyd Christmas, a silly chip-toothed slacker who has been dismissed from a number of jobs, is played by Jim Carrey. Carrey and co-star Jeff Daniels share a natural chemistry that ensures every joke in Dumb and Dumber lands.

Sonic the Hedgehog 2 (2022) - 3.4/5

Currently in Theatres

Sonic the Hedgehog 2 Jim Carrey Robotnik What Happened Credits Die SR

In the second live-action Sonic film, Sonic the Hedgehog is eager to show that he has what it takes to be a true hero after settling in Green Hills. Dr. Robotnik comes back with a new partner, Knuckles the Echidna, in search of a mythical emerald that can apparently let anyone shape reality at will, putting him to the test.

RELATED: Daniel Craig's 10 Best Movies, According To Letterboxd

Dr. Robotnik, the crazy scientist and Sonic's archenemy, is played by Jim Carrey once again. Though perhaps not as fun as the beloved video games, this second live-action outing for the blue blur stands up to the first, with Carrey's performance garnering praise for perfectly matching the film's silliness and eccentricities.

Man on the Moon (1989) - 3.7/5

Stream on Peacock

Andy Kaufman sings from Man on the Moon

Man on the Moon is a biopic of Andy Kaufman, an eccentric comedian who rose to fame as car mechanic Latka Gravas in the TV series Taxi. Kaufman's comedic exploits, as well as his personal life and relationships with others, are explored in the film.

Andy Kaufman is played by Jim Carrey. Kaufman, a master of audience manipulation, could elicit loud laughs, dead silence, tears, or scuffles. Carrey's portrayal of Kaufman is popular among fans since he nails the mystique of Kaufman's character, including the spirit that lurked underneath the act.

The Truman Show (1998) - 4.1/5

Stream on HBO Max

Jim Carrey as Truman Burbank, looking up at the sky in The Truman Show

The Truman Show follows Truman Burbank, a guy who grew up with a normal lifestyle that, unknown to him, takes place on a vast set with actors for a TV series about him so each and every one of his actions is being recorded on camera. As Truman progressively learns the truth, he must determine whether or not to act on it.

Jim Carrey plays Truman, who has no idea that his every move is being aired live across the world. He has a wife and a position in the insurance industry and soon realizes that his surroundings are different from their appearance. The film is highly rated because it foresaw the emergence of reality TV, thus its concept still feels relevant today.

Eternal Sunshine of the Spotless Mind (2004) - 4.2/5

Stream on Peacock

Joel and Clementine sat on a step in Eternal Sunshine

Eternal Sunshine of the Spotless Mind revolves around a woman who undergoes surgery to wipe memories of her ex-boyfriend from her brain after a breakup. When her ex-boyfriend realizes this, he goes through the same process but leaves a tape about their memories in preparation.

Jim Carrey plays Joel Barish, Clementine Kruczynski's ex who had both of their memories erased, and re-enter their relationship after a while. The film won "Best Original Screenplay" at 77th Academy Awards. Critics say that Carrey achieves on film what fans want in a solid performance: emotional clarity; a mix of pain, astonishment, and shock.

NEXT: Emma Watson's 10 Best Movies (That Aren't Harry Potter), According To Letterboxd