Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

U.S. Sen Dianne Feinstein, D-California, isn't backing the Green New Deal, and she wasn't shy about letting a group who does support it know it — even if they are children.

A group of schoolchildren visited the senator at her San Francisco office Friday and urged her to get on board with the renewable energy legislation. But the conversation quickly turned into somewhat of a confrontation, and Feinstein has been criticized online for the tone she took. Edited video of the 85-year-old lecturing more than a dozen kids went viral Friday.

One girl implored the senator to back the Green New Deal and argued that the government can afford it. "We have tons of money going to military," the girl told the lawmaker.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

"I've been doing this for 30 years," Feinstein said. "I know what I’m doing. You come in here and you say it has to be my way or the highway. I don’t respond to that."

This is how @SenFeinstein reacted to children asking her to support the #GreenNewDeal resolution -- with smugness + disrespect.



This is a fight for our generation's survival. Her reaction is why young people desperately want new leadership in Congress. pic.twitter.com/0zAkaxruMI — Sunrise Movement 🌅 (@sunrisemvmt) February 22, 2019

The senator called Friday's interaction "a spirited discussion."

"Unfortunately, it was a brief meeting but I want the children to know they were heard loud and clear," she said.

Her supporters said a longer video of the confrontation depicts Feinstein in a kinder light. In that clip, she sends aides off to get copies of an environmental bill she's backing in the U.S. Senate. "If you have a problem with it you can let me know," she told the group.

Of the Green New Deal, Feinstein says, "Well the reasons why I can’t, 'cause there’s no way to pay for it."

The children were organized by a group, Sunrise Movement, that's backing the House legislation that was introduced by Rep. Alexandria Ocasio-Cortez, D-N.Y., and Sen. Ed Markey, D-Mass.

The House legislation aims for net-zero greenhouse gas emissions and 100 percent renewable energy sources in the United States by 2030. Feinstein said it has no Republican support in the Senate, making in a nonstarter there.

"That resolution will not pass the senate," Feinstein told the children.