Jim Carrey is eyeing a villainous role in the forthcoming Sonic the Hedgehog film.

As first reported by Deadline, the actor is said to be in talks to play the role of Dr. Ivo "Eggman" Robotnik, the main antagonist of Sonic the Hedgehog. Should talks take, Carrey would make for the third actor to sign on to the project, joining James Marsden and actor Tika Sumpter. Details of Marsden's role are sparse, however, earlier reports indicated he would be playing the role of Tom, a “sarcastic” cop who teams up with the titular hedgehog as the two attempt to take down Robotnik.

RELATED: Sonic the Hedgehog Movie To Star Westworld’s James Marsden

Sonic the Hedgehog made his debut back in 1991, becoming a blockbuster for Sega, which adopted the video game’s title character as its mascot. Since then, the character has made the leap from video games to both animation and comic books. A feature film based on the iconic character has been in development since 2014 at Sony, with little to no progress happening on the project until 2016, when Tim Miller was brought on as the director. That deal ultimately fell apart, though, allowing Paramount Studios to swoop in and secure the film rights for the character earlier this year. Production on the film is expected to kick off sometime next month.

RELATED: Sonic the Hedgehog Film Lands Release Date

Set for release on November 15, 2019, Sonic the Hedgehog will be the directorial debut of Jeff Fowler, who is directing from a script by Patrick Casey and Josh Miller (12 Deadly Days). Deadpool's Tim Miller will serve as executive producer on the project.