Alexander Skarsgård’s and Margot Robbie star in 'The Legend of Tarzan'.
Alexander Skarsgård’s shirtless body made Margot Robbie lose her mind.

The duo star in The Legend of Tarzan as Tarzan and Jane, and we can’t really blame Margot for her reaction, because Alex is ripped!

Margot told “My mind went blank as soon as I saw him shirtless.

“Every girl on set was swooning, I think, when they saw him. He worked so hard to get in that kind of shape. I would never have had the discipline that he needed to spend so many months training and dieting to achieve that look.

“I really admire him for that.”

The actress investigated Alex’s hot bod up close and personal, as there are several steamy scenes between them in the film.

It appears Alexander’s lekker lyf may not all be to blame for Margot’s featherbrain.

She recently admitted confusing British Prince Harry for singer Ed Sheeran at a party.

The Australian actress ended up in a photo-booth with the red-haired royal and her pals Sienna Miller, Cara Delevingne and Suki Waterhouse, and says: “But I didn’t even know who it was. I’d had a drink or drinks. I thought I was hanging out with Ed Sheeran. I was thinking ‘Ed’s a really cool guy’. I'm going to take some pictures with him.”

She adds: “Everyone now thinks if they come on a night out with me in London they’ll bump into Prince Harry.

Asked if Harry took the mix-up well, the 25-year-old actress told The Sun on Sunday: “Nope.”