LOS ANGELES: Charlize Theron and Matthew McConaughey take on parental roles in their new film, “Kubo and the Two Strings.” Off camera, the two Oscar winners discussed their real-life approach to raising kids.

Both are teaching their children about compassion and responsibility, and McConaughey takes a Hollywood approach when talking to his kids about moral choices.

“We like the word residuals in our house,” he said in a recent interview. “Which choices are going to pay you back later or are going to give you more green lights later on of being the young man or young woman that you want to be?“

“Kubo and the Two Strings,” the latest film from stop-motion animation studio Laika (“Coraline,” “The Boxtrolls“), centers on a boy who ignites a long-dormant vendetta when he accidentally summons a spirit from his past. Theron and McConaughey play his trusted guides, Monkey and Beetle. The film opens Friday.

A father of three, McConaughey said he’s still navigating the balance between parent and friend, roles he finds “intersect and overlap.”

Theron, who has two children, said she’s willing to transform into whatever her son and daughter need, just as her character transforms in the film.

“If you feel like you have to become something or someone for your child in order to kind of get something through to them, then you do that,” she said. “I think it’s just limitless when you’re a parent. There’s nothing that you wouldn’t do.”

That includes playing silly roles around the house to entertain her 4-year-old son, Jackson.