During his Walk of Fame ceremony on Monday , Zac took a minute to observe the tardy actor .

On Monday,Zac Efronreceived his star on the Hollywood Walk of Fame.

The event honoring the actor and his success was star-studded. HisThe Iron ClawcostarJeremy Allen Whiteand the film’s director Sean Durkin both gave speeches.

Kevin Von Erich, whom Zac plays in the film, was there alongside his wife, Pam Adkisson, who is played byLily James.

Miles Teller, who costarred in the 2012rom-comThat Awkward Moment alongside Zac and Michael B. Jordan, also gave a speech at the event.

And, finally,High School Musicaldirector Kenny Ortega came to support Zac, too.

While the event was obviously focused on Zac, when it was the actor’s turn to give a speech, his list of people to thank included a former costar that inspired him: the late Matthew Perry,who died in October.

The two played adult and teen versions of each other in the 2009 comedy17 Again.

The film was one of Zac’s first following the completion of theHigh School Musicaltrilogy, which ended in 2008 withHigh School Musical 3: Senior Year,and Zac acknowledged in his speech what an influence Matthew had on him as an actor during this transitional time in his career.

“I really also want to mention someone that’s not here today,” Zac said, per a recording of the speech posted on Twitter byEntertainment Tonight.

“And that’s Matthew Perry, who was so kind and generous with me while we worked on17 Again,” he continued. “Collaborating with him and [Burr Steers, the film’s director], it was so much fun, and it really did propel me and motivate me in so many ways.”

“It really pushed me into the next chapter of my career, and for that, thank you so much, Matthew,” he concluded. “Thinking about you a lot today.”

This is not the first time Zac has reflected on his friendship with Matthew following the actor’s death.

Last month, Zac was asked byEntertainment Tonightfor his thoughts on Matthew saying he’d like the actor to play him in a biopic.

“I heard that, and it’s a huge honor. Matthew [was] just the best guy in the world. I had the best time of my life working with him, and to think that he was thinking of me for that role,” Zac said. “I mean, I would be honored to do it, to be honest.”

In a full circle moment, Miles Teller even noted Matthew’s biopic wish inhis Walk of Fame speechto Zac.

“I know how much that meant to you,” Miles said. “He is one of the all time greats.”

closeup of Zac Efron kneeling on one leg next to his star

Sean Durkin, Zac Efron, and Jeremy Allen White

Pam Adkisson and Kevin Von Erich

Closeup of Zac Efron and Miles Teller

Zac Efron and Kenny Ortega

Closeup of Matthew Perry

Poster for "17 Again"

Matthew Perry and Zac Efron in suits

Zec Efron giving a speech

Closeup of Zac and Matthew

Closeup of Zac Efron

Closeup of Zac Efron

Closeup of Matthew Perry

Closeup of Zac Efron

Zac Efron and Miles Teller

Closeup of Matthew Perry