London - Prince William would stand by his children if they came out as gay, he said.
He spoke out on a visit to a charity that helps homeless young people who are lesbian, gay, bisexual or transgender.
It is thought to be the first time that a member of the Royal Family has visited such an organisation.
One young gay man, who asked not to be identified, asked the prince: "If your child one day in the future said 'Oh I’m gay, oh I’m lesbian' whatever, how would you react?"
William replied: "Do you know what, I’ve been giving that some thought recently because a couple of other parents said that to me as well.