Ricky Martin reveals all about his first on-screen gay sex scenes

Ricky Martin has opened up about his very first on-screen sex scenes.

The Latino popstar is starring in a new drama telling the story of Versaceā€™s assassination.

Martin plays Gianni Versaceā€™s longtime partner Antonio Dā€™Amico in The Assassination of Gianni Versace: American Crime Story.

While heā€™s used to thrusting his stuff in pop videos, the singer said getting his kit off entirely was a very different experience.

Ricky Martin

ā€œI thought I was going to be more uncomfortable,ā€ he told Entertainment Weekly.

ā€œThe exhibitionism kicked in for a moment and all of a sudden I was naked in bed in front of 20 people from the crew and another actor I met that same day.

ā€œI was not nervous at all. On the contrary, I was ready to do what needed to be done.ā€

RELATED: Ricky Martin: I was taught being gay is ā€˜ungodlyā€™

Famed fashion designer Versace was assassinated on the steps of his Miami Beach mansion in 1997 by serial killer Andrew Cunanan.

Martin said the themes of homophobia and public intrusion struck a chord with him.

He told the magazine: ā€œItā€™s a story that needs to be told.

ā€œWeā€™re going to go mainstream with a story that talks about homophobia, that talks about hate, that talks about indifference.

ā€œI feel humbled. Itā€™s so raw and honest and so dramatic and sad.

ā€œBut at the same time you show the love of Gianni and Antonio and 15 years of struggling, fighting.

RELATED: Ricky Martin takes up Las Vegas residency

ā€œItā€™s something that I really wanted to be loud about,ā€ he said.

The Assassination of Gianni Versace: American Crime Story airs on FX in the US.