You're going to love. Very spicy. Nou naughty. We're going to begin with a new path for jim carrey. Now, he's putting his genius as a writer. His children's book is called "how roland rolls." Bianna golodryga tells us how he was inspired by his own childhood. Reporter: From "ace ventura," to "the mask." Smokin'. Reporter: To "bruce ail mighty." Don't forget your parting gift. Reporter: No one inhabits a character quite like jim carrey. &#9834; You're a mean one, mr. Grinch &#9834; Reporter: Now, the superstar, actor and comedian, is taking on the role of roland, in his first children's book. About a wave who worries that one day when he hits the beach, his life will be over. Until he realizes, he's not just a wave. But the whole, wide ocean. I remember when I was a kid. I had real fears about parents were smokers. I remember locking myself in the bathroom one day for hours with their carton of cigarettes. Reporter: To hide them. I was afraid they were going to die. Kids have fears about life and what's going to happen to mom and dad. I wanted to give them something that reassures them that no one's going anywhere. Reporter: While the story is partially based on memories of childhood fears, the idea of writing a book was based on some of carrey's happiest moments as a child. You bring a book and share it together, it's a special thing. Reporter: Magical. That's why carrey has dedicated the book to his 3-year-old grandson, jackson. At some point in this book, comes off the press, I'm going to be there and do that. Reporter: And read it. Carrey was involved in the book's illustrations. He drew a picture of what roland would look like. He collaborated with daughter, jane, who composed the music for THE ROLAND eBOOKS. It really feels good that I'm doing something for that purpose. You know? To hand down in the family. Reporter: For "good morning america," bianna golodryga, abc news, new york. We said the same thing. He's a grandad? Good for him. "How roland rolls" in stores right now.

This transcript has been automatically generated and may not be 100% accurate.

Jim Carrey Protests Violence in His Own Movie

Actor tweeted he shot "Kick-Ass 2" before Sandy Hook and "cannot support that level of violence.

{"id":20381118,"title":"Jim Carrey Pens Children's Book 'How Roland Rolls'","duration":"2:35","description":"The comedy legend talks about his new passion and drawing inspiration from his own childhood.","section":"GMA","mediaType":"Default"}