In “Passengers”, Chris Pratt and Jennifer Lawrence play space travellers who are placed in suspended animation for a lengthy journey through the cosmos, only to mysteriously awaken 90 years ahead of schedule.

For fans of the “Guardians of the Galaxy” star, the film features Pratt in a nude scene while taking a shower — which elicited this tweet from the star:

What moviegoers who watch the scene may not have known — until now — is that Pratt wound being completely and utterly naked for the scene when his “modesty sock” kept slipping off and he decided to speed things up by going au naturel.

“There was one moment where I’m in the shower. It was the last scene we shot at the very end of a long week. I just remember I had this like dance belt on which is essentially glued or taped to the front to cover up that part,” Pratt tells USA Today. “And the water was rolling down and it kept coming undone. And so I was like, ‘Just stop, forget it.’ And I did the whole scene. I was actually fully naked. And I knew everyone could see it. I didn’t care, I wanted to go home.”

RELATED: ‘Passengers’ Stars Jennifer Lawrence And Chris Pratt Walk Out Of Interview After Awkward Question About Sex

To wrap up the scene, Pratt shed the sock (and his modesty) for the greater good. “It was like, what was I going to do, dry me off, apply another thing and take another 10 minutes to do that? Or just shoot the scene,” he added. “So, everyone saw…”

While the crew members on the film were no doubt grateful for his junk-baring sacrifice, even more grateful are the teenagers who’ll benefit from a new youth centre in his hometown, thanks to Pratt’s generous $500,000 donation.

“I have never been more grateful in my life,” writes Pratt in a special Facebook message about the centre, which is dedicated to his late father. “My hometown of Lake Stevens, Washington just broke ground on the Dan Pratt Memorial Teen Center. Thank you so much to the folks at Omaze for all your hard work, and to all the people around the world who donated through the campaign.”

rs_1024x759-161223091503-1024-chris-pratt-boys-girls-club-j3r-122316

Added Pratt: “We couldn’t have done it without you. I just handed the teen center committee a $500,000.00 check like on publishers clearing house. What a trip! That’s half a million dollars! We broke ground! It’s gonna be fabulous too! The plans are amazing.”

rs_1024x759-161223091504-1024-chris-pratt-boys-girls-club-jr-122316