If Rihanna compliments you, you take it and run. 

While on the set of the new installment of the Ocean's franchise, Ocean's 8, actress Anne Hathaway and Rihanna bonded between takes of the heist film over body positivity. Hathaway revealed she was feeling a bit self-conscious about her post-baby body during a recent appearance on Ellen

She gave birth to her son, Jonathan Rosebanks Shulman, in 2016. In the months after, Hathaway reportedly struggled to lose the baby weight. 

“I don’t beat myself up about any of that stuff anymore, but after I had my son, the weight was really slow to come off, and so I was a different size than I normally am,” Hathaway said.

Working on the film helped her through this tough time because of the love and support she received from her co-stars. Despite some hesitation, one day she came to the set wearing a pair of jeans that showed off her new body.

“I walked on the set, and my weight’s a little up, and I’m just aware of it…and I’m in my jeans, and I’ve done my best, and I’m gonna love myself no matter what,” she said. “And Sandy Bullock looks up and goes, ‘You look good mama.’ And then Cate Blanchett’s like, ‘Nice jeans, Hathaway.’ And then Rihanna looks up and goes, ‘Damn girl, you got an ass.’”

Hathaway was a little taken aback by Rihanna's comment in a good way. 

“I, of course, was freaked out and loved it so much and I go, ‘Really?’ And she goes, ‘You got an ass like me.’ And I can honestly say I’ve never had that experience on a film set before,” Hathaway continued. “They were just so beautiful and to be surrounded by that much love and understanding; it was just great.”

The pair were seen hanging out at the Ocean's 8 after party. 

Since the release of Fenty Beauty and Savage by Fenty, Rihanna has become a champion for body positivity with her line of products that cater to all women's body types. So, her comments seem fitting.

Ocean's 8 hits theaters nationwide Friday, June 8. 

Watch the full interview below: