Addressing reporters in the Rose Garden on Tuesday, President Obama launched into an attack on Republican presidential candidate Donald Trump, urging him to stop “whining” and claiming his complaints aren’t presidential.

I’m both glad and deeply saddened that President Obama was required to say this—and from the White House, no less. https://t.co/XO5JmzkSP4 — Jamil Smith (@JamilSmith) October 18, 2016

Obama critiqued Trump over claims the election is “rigged” against him.

“That is both irresponsible — and by the way, doesn’t really show the kind of leadership and toughness you want out of a president,” Obama said.

“You start whining before the games even over — if, if, if, if, if, if whenever things are going badly for you and you lose, you start blaming somebody else?” he said, stuttering.

“Then you don’t have what it takes to be in this job,” the president declared, pointing over his shoulder to the Oval Office.

“Cause there are a lot of times when things don’t go our way — or my way,” he said.

Maybe sticking to the teleprompter is a better way to go, as it wasn’t the first time Obama stuttered while trying to launch an attack on Trump.

In June, after the president’s teleprompter reportedly malfunctioned, he was forced to talk off the top of his head.

The Blaze captured the moment:

“If we turn against each other based on divisions of race or religion,” he began — and then the president seemed to have trouble coming up with the words to follow “if,” which he repeated multiple times.

Obama then came back with a warning to not fall “for a bunch of okie doke just because, you know, it sounds funny or the tweets are provocative” — along with some noticeable pauses — “then we won’t build on the progress that we’ve started.”