The comedic sketch featured the “Confess, Fletch” star dancing in a dressing room and White, playing Hamm’s dance coach, asking him to shake it and “back that mother up.”
“My job was to back that thang up into Betty White’s front,” Hamm recalled.
You can watch a video of Hamm and White dancing, starting around the 1:41 mark, below.
Hamm remarked that White, who died in late 2021, was in her 90s as she grooved with him.
Hamm also said that White didn’t take her eyes off him after the parody.
“My favorite part was the continuation of that. ... I had to present right after that [sketch] with Betty,” Hamm said.
“I had to get out of my ‘Glee’ costume and into my tuxedo. So I had to do like a quick change backstage, and Betty was right there,” he recalled.
“And by the way, [she] did not look away!”
“Wow! Betty White is a legend,” Fallon exclaimed as a smile spread across Hamm’s face.
You can watch more of the “The Tonight Show” interview below.
This article originally appeared on HuffPost and has been updated.