Ryan Gosling felt under pressure on the set of his latest movie.

The 37-year-old actor plays the role of American astronaut Neil Armstrong - who was the first person to walk on the Moon - in the new biopic 'First Man', but Ryan has admitted to feeling a bit anxious about saying Armstrong's iconic line about taking a ''giant leap for mankind''.

Ryan confessed: ''I was worried about it. It hung over me as it is the most famous line, and a beautiful thing to say.

''Neil didn't think about it ahead of time, so I tried not to think about it too much.''

Ryan also admitted to feeling under extra pressure after he met with members of Armstrong's family.

He told 'The Graham Norton Show': ''Neil's sons wanted all the stories and context to shed new light on their father.

''It was the greatest challenge I have been part of and it was the biggest relief that, after they saw the film, they said, 'All our lives we have been asked what it is like to be the sons of the first man on the moon. Now we can say: go and see the film.'''

The Hollywood star went through an extensive training process in preparation for the unusual role.

But he said that the real-life experiences of astronauts put his own stresses into some sort of context.

He explained: ''I went into a multi-axis trainer and don't remember much about it.

''The director asked for more speed which I hated. But it was hard to complain when there were men on the set that would say, 'You know when I went to the moon.'''