Shawn Mendes joins the cast of “Lyle, Lyle, Crocodile” as the titular reptile.

Deadline reports the pop star will voice the main character in Sony’s adaptation of the popular children’s book of the same name.

READ MORE: Shawn Mendes Postpones European Tour Dates To 2023 Due To Pandemic

Other members of the cast include Javier Bardem, Constance Wu and Winslow Fegley.

The original picture book by Bernard Waber follows a crocodile who lives in New York City. He gets along with his neighbours and helps his friends until one neighbour suggests he should be in the zoo instead.

READ MORE: Shawn Mendes Tumbles Down A Hiking Trail While Posing Shirtless For A ‘Thirst Trap’ Photo

This role will be the first time Mendes joins a major studio production. He’s previously had minor roles in “The 100” and guest appearances as himself in other TV shows.

“Lyle, Lyle, Crocodile” will be released on Nov. 18.