'What to Expect When You’re Expecting' Stars Cameron Diaz, Matthew Morrison on Their Sexy Dance Scene (Video)

Diaz tells THR that it took her much longer to learn the choreography than Morrison, who gets to show off his musical talents every week on "Glee."

What to Expect When You’re Expecting opens with Cameron Diaz and Matthew Morrison’s characters competing on a reality dance competition that looks a lot like Dancing With the Stars.

Diaz, who plays a celebrity weight loss guru in the Lionsgate comedy, wears an ultra-skimpy bright red sequined outfit for the spicy opening number, which involved plenty of fun dance moves.

PHOTOS: Jennifer Lopez, Brooklyn Decker, Chace Crawford Step Out for 'What to Expect When You're Expecting' Premiere

“It took me about five days to learn about 12 minutes,” Diaz told The Hollywood Reporter about learning the complicated dance sequences, adding that it took her a lot longer than Morrison, who stars on Fox’s musical comedy Glee.

Diaz added that she “loved” her outfit for that scene. “I want to shake, shake, shake,” she told THR with a laugh.

Diaz and Morrison’s characters end up getting pregnant, and are one of five expectant couples who are followed in the film. The cast also includes Elizabeth Banks, Jennifer Lopez, Anna Kendrick and Brooklyn Decker.

The duo were already friends before the movie, but told THR that they enjoyed working so closely together. When asked what they learned about each other on set, it turned into a regular love-fest.

FILM REVIEW: What to Expect When You’re Expecting

“Cameron has such a deep respect for the process of being an actor,” said Morrison of his co-star. “She realizes who she is and what she means to people, and I think that is so special to know that and to value and and it be good for the fans.”

Diaz said of Morrison: “What he does as an actor, as a performer, as a dancer, as a singer, you can’t do that without total dedication.”

Watch THR’s interview with Diaz and Morrison above.

What to Expect When You’re Expecting opens in theaters on May 18.

Email: Rebecca.Ford@thr.com; Twitter: @Beccamford