President Trump on Sunday said he is fine with protesting as long as it is not done during the national anthem.

”I'm all in favor of people protesting if they want to protest. But you don't protest during our national anthem,” Trump said during a private fundraising for South Carolina Gov. Henry McMaster's (R) campaign at the Embassy Suites Greenville Golf Resort in Greenville, S.C.

ADVERTISEMENT

Clips of Trump's private speech were posted in a Snapchat "Snap Map" story.

"So Hillary today came out in favor of the NFL players kneeling," Trump added, eliciting boos from the crowd.

Trump's remark comes amid a controversy around NFL players who have knelt during the national anthem before games to protest racial injustice. The president has repeatedly attacked those participating in the protests.

Trump took aim at NFL free agent Colin Kaepernick last month during a rowdy rally in Alabama, in which he called on NFL owners to fire any players engaging in such protests. Kaepernick first began kneeling during the anthem last season.

Trump's remarks, however, inspired more players to kneel or link arms during the "Star-Spangled Banner."

Vice President Pence dramatically walked out of an Indianapolis Colts game last week, when several San Francisco 49ers kneeled during the anthem.

Tickets for the Monday night fundraiser cost $250 a piece, according to the pool report, but many were given to legislators and other dignitaries at no cost.