Throwat?/Throw to

Hi there;
Which preposition is correct?
He threw the ball at?to me?

It depends on whether he threw the ball at your body in order to hit you (at) or threw it in a way that he expected you to catch it. (to)