There have been rumors about James Franco’s sexuality for years but the 36-year-old actor has finally set the record straight.

The "127 Hours" star was asked to interview himself for the upcoming edition of Four Two Nine magazine and he took the opportunity to clear up any confusion about his private life.

“Are you f---ing gay or what?” he asked himself.

To which he responded, “Well, I like to think that I’m gay in my art and straight in my life”.

“Although, I’m also gay in my life up to the point of intercourse, and then you could say I’m straight. So I guess it depends on how you define gay.

“If it means whom you have sex with, I guess I’m straight. In the twenties and thirties, they used to define homosexuality by how you acted and not by whom you slept with.

“Sailors would f--- guys all the time, but as long as they behaved in masculine ways, they weren’t considered gay.”

Click here for more on this report from

WATCH: Four4Four: What Iggy's nemesis and Charlotte McKinney have in common