President Obama on Tuesday dismissed Donald Trump's plan to stop illegal immigrants from sending money back to their home countries as "half-baked," "draconian" and "impractical."

Obama told reporters Tuesday that it's comments like these that has foreign leaders worried about the direction of the U.S. presidential campaign.

"I think I've been very clear earlier that I've been getting questions constantly from foreign leaders from some the wackier suggestions being made," he said. "It's not just to Mr. Trump's proposals, you're also hearing concerns about Mr. [Ted] Cruz's proposals, which are in some ways just as draconian."

When it comes to immigrants, illegal or legal, sending money earned in the United States back to their home countries is lawful right now in the United States and ending the practice would be incredibly impractical, Obama said. Trump suggested limiting or taxing these remittances unless Mexico agrees to pay for a wall on the southern U.S. border, but Obama implied it would be virtually impossible to do that.

"The notion that we're going to track every Western Union bit of money that is sent to Mexico, good luck with that," he said.

The impact on the Mexican economy would also be enormous and could have the effect of creating more incentives for immigrants to head north to the United States, he said. Obama said the proposal is an example of "half-baked" ideas Trump and others are floating.

"[It's] something that is not thought through, but is primarily put forward for political consumption," he said. "We've got serious problems here. We've got big issues around the world and [world leaders] expect us to treat those problems seriously, to put through proposals that are examined, analyzed … where unintended consequences are considered."

"They don't expect half-baked notions coming out of the White House. We can't afford that," he concluded.