Writer/director Tyler Perry attends the 20th annual Critics' Choice Movie Awards at the Hollywood Palladium on January 15, 2015 in Los Angeles, California

Writer/director Tyler Perry attends the 20th annual Critics’ Choice Movie Awards at the Hollywood Palladium on January 15, 2015 in Los Angeles, California

*Tyler Perry will leave his Madea suit behind for his next big screen role.

The filmmaker has signed on to join the cast of “Teenage Mutant Ninja Turtles 2,” The Hollywood Reporter has confirmed.

Perry will play scientist Baxter Stockman in the new movie, directed by David Green. Stockman is one of “TMNT’s” major villains, a scientist who first creates the Mousers, a line of rat-destroying machines. Later he becomes a cyborg.

Will Arnett and Megan Fox are reprising their roles while Stephen Amell is one of the new additions, playing Casey Jones.

Michael Bay, Brad Fuller and Andrew Form are producing.

Perry’s last non-Madea role was in “Gone Girl.”