John Stamosis rememberingMatthew Perrywith a sweet story about the late actor.

TheFull Housealum shared an anecdote from his season 9 guest appearance onFriendsas he reflected on the kindness Perry — whodied at age 54on Saturday — had shown him.

“Matthew and I had been friendly long before ‘Friends’ So, when I guest starred as Zach, the prospective sperm donor for Chandler and Monica, I hung with him a lot,” Stamos, 60,wrote on Instagramlate Monday night alongside a clip from his scene in the sitcom.

In the scene, which took place during the May 2003 episode “The One with the Donor,” Perry’s Chandler Bing andCourteney Cox’s Monica Geller grilled Stamos' character about his genes as they considered him as a sperm donor.

Michael Kovac/Getty; Gregg DeGuire/FilmMagic

John Stamos Recalls Matthew Perry’s Sweet Gesture on Set of Friends

“Standing backstage, ready to make my entrance, Matt whispers, ‘The audience is going go crazy when they see you! Get ready for some loud screams.’ I walk through the door … silence. I was so embarrassed,” Stamos recalled.

“We finish the scene and as I start to slither back to my dressing room and quit showbiz, Matt walks over to the studio audience: ‘Ladies and gentlemen, give it up for John Stamos! You guys probably didn’t recognize him at first because [he’s] so much better looking in person!’ ”

Matthew Perry, Courteney Cox and John Stamos onFriendsin May 2003.Warner Bros./Courtesy Everett Collection

FRIENDS, Matthew Perry, Courteney Cox, John Stamos, ‘The One With The Donor’

Warner Bros./Courtesy Everett Collection

He added of Perry’s thoughtful gesture, “I never forgot that and the world will never forget you.”

John Stamos and Matthew Perry onFriendsin May 2003.Warner Bros./Courtesy Everett Collection

FRIENDS, John Stamos, Matthew Perry, ‘The One With The Donor’

On Monday, hisFriendscastmates — Cox,Jennifer Aniston,Lisa Kudrow,Matt LeBlancandDavid Schwimmer— spoke out about the loss in an exclusive statement to PEOPLE.

“In time we will say more, as and when we are able. For now, our thoughts and our love are with Matty’s family, his friends, and everyone who loved him around the world,” they concluded.

Matthew Perry as Chandler Bing, Jennifer Aniston as Rachel Green, David Schwimmer as Ross Geller, Courteney Cox as Monica Geller, Matt Le Blanc as Joey Tribbiani and Lisa Kudrow as Phoebe Buffay inFriends, circa 1995.NBCU Photo Bank/NBCUniversal via Getty

FRIENDS – Pictured: (l-r) Matthew Perry as Chandler Bing, Jennifer Aniston as Rachel Green, David Schwimmer as Ross Geller, Courteney Cox as Monica Geller, Matt Le Blanc as Joey Tribbiani, Lisa Kudrow as Phoebe Buffay in ‘Friends’, circa 1995.

NBCU Photo Bank/NBCUniversal via Getty

The sitcom’s co-creatorsMarta KauffmanandDavid Crane, plus executive producerKevin Bright, also spoke out amidst the loss, calling Perry “a brilliant talent” as they shared their love for Perry and his iconic character Chandler.

They continued, “It’s a cliche to say that an actor makes a role their own, but in Matthew’s case, there are no truer words. From the day we first heard him embody the role of Chandler Bing, there was no one else for us.”

“We will always cherish the joy, the light, the blinding intelligence he brought to every moment — not just to his work, but in life as well. He was always the funniest person in the room. More than that, he was the sweetest, with a giving and selfless heart," they added in the statement.

Matthew Perry in London on Feb. 8, 2016.Dave Benett/Getty

Matthew Perry poses at a photocall for “The End Of Longing”, a new play which he wrote and stars in at The Playhouse Theatre, on February 8, 2016 in London, England

Dave Benett/Getty

The statement ended with condolences for other grieving Perry, as well as a sweet reference to theFriendstitle tradition.

“We send all of our love to his family and friends. This truly is The One Where Our Hearts Are Broken," they concluded.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human-interest stories.

The statement continued, “You all meant so much to him and we appreciate the tremendous outpouring of love.”

source: people.com