Jada Pinkett-Smith was "glad" Matt Bomer didn't sue her for sexual harassment.

Jada Pinkett-Smith

Jada Pinkett-Smith

Pinkett-Smith admits her knees "literally buckled" at the sight of "such physical beauty" on the set of 'Magic Mike XXL' every day and she particularly enjoyed spending time with one of her co-stars, until she realised her attentions could make him uncomfortable.

Speaking on 'On Air With Ryan Seacrest', she said: "I was so glad that he didn't sue me for sexual harassment. I really was.

"Because every time I saw Matt, my first thing is I put my hand on his chest and rub his chest and say, 'Hey, Matt!'

"And I realised...if he did that to me, it'd be a problem. I had to take a day and apologise. I was like, 'You know, I realise every time I see you, I touch your chest and that's just not right and I'm sorry. I am sorry."

But Jada - who plays a strip club owner and emcee in the movie - was relieved to find Matt wasn't upset.

The movie is rated R for strong sexual content, language drug use and some nudity, but Jada admits it almost got a higher rating until a scene with Michael Strahan was edited.

She told Power 105FM: "We were screening the movie and they were like, 'You have to just wait because we have to tone Michael's scene down--at one particular point in time I think it was an NC-17 rating!

"I was like 'What? I'm a grown woman I can watch that!'"

But despite its adult themes, Jada insists she would rather her daughter watch the movie than be subject to some of what is available on the Internet.

She said: "When I'm sitting with Willow and going through the Tumblr feed, she always tells me, she's like, 'Mom, this is not me, it's a feed, I'm not in control of this!'

"And the stuff that I see come through there, I'm like, I cannot believe children are exposed to this stuff.

"It's crazy. So 'Magic Mike', in my eyes, I would prefer Willow see that!"