A former adviser to Hillary Clinton capitalized on a widely-shared story involving President Trump, former FBI Director James Comey and an attempted embrace by sharing video of Clinton practicing how to dodge the president's hugs during debate preparation.

Philippe Reines, who played Trump during mock presidential debates, posted a video from September 2016 to his Twitter account Friday.

The video shows Clinton and Reines — as Trump — walking on stage, waving to the audience and moving in for a handshake. But as Clinton approaches Reines, he attempts to hug his Democratic challenger.

"Not easy to avoid the unwanted Trump hug, sometimes it even takes practice," Reines said.

The former Clinton adviser was alluding to Comey's own encounter with Trump earlier this year. During an Inauguration Day event to honor law enforcement, the FBI director attempted to blend into the blue drapes in the meeting room to avoid Trump's attention.

But the president noticed Comey toward the end of the event and called out to him.

Comey extended his hand to Trump, but Trump attempted to embrace the FBI director.

"Trump grabs his hand and attempts an embrace," Benjamin Wittes, Comey's friend and a senior fellow at the Brookings Institute, wrote of the encounter. "The embrace, however, is entirely one sided."