Former President Obama went viral on Saturday after shooting a 3-pointer while on the campaign trail for Democratic presidential nominee Joe BidenJoe BidenOvernight Defense: Senate panel adds B to Biden's defense budget | House passes bill to streamline visa process for Afghans who helped US | Pentagon confirms 7 Colombians arrested in Haiti leader's killing had US training On The Money: Senate braces for nasty debt ceiling fight | Democrats pushing for changes to bipartisan deal | Housing prices hit new high in June Hillicon Valley: Democrats introduce bill to hold platforms accountable for misinformation during health crises | Website outages hit Olympics, Amazon and major banks MORE.

Obama made the shot just before leaving a gymnasium in Flint, Mich. While he walked out the door, he told campaign staff, “That’s what I do!”

Celebrities and social media users quickly shared the clip, with some hoping the shot is a "good omen" for the former vice president ahead of the Tuesday election.

NBA star LeBron James, who previously partnered with former first lady Michelle ObamaMichelle LeVaughn Robinson ObamaJill Biden takes starring role at difficult Olympics Obama to adapt memoir 'Dreams From My Father' for young readers Harris emerges as main GOP foil on campaign trail MORE on voter initiatives, tweeted, “Now you just showing out now my friend!! That’s what you do huh??”

ADVERTISEMENT

ADVERTISEMENT

ADVERTISEMENT

The clip was taken in the gymnasium of Flint’s Northwestern High School, Yahoo Sports reported. The former president and Biden campaigned together in Flint on Saturday at a drive-in rally, where Obama blasted President TrumpDonald TrumpNew Capitol Police chief to take over Friday Overnight Health Care: Biden officials says no change to masking guidance right now | Missouri Supreme Court rules in favor of Medicaid expansion | Mississippi's attorney general asks Supreme Court to overturn Roe v. Wade Michael Wolff and the art of monetizing gossip MORE’s “reality show” style of politics.

“He hasn’t shown any interest in doing the work or helping anybody but himself or his friends or treating the presidency as anything more than a reality show to give him the attention that he craves,” Obama said. “But unfortunately, the rest of us have to live with the consequences.”