In the way or on the way?

In the way or on the way?
 

On the way

When you’re going somewhere, you’re ‘on the way’.
I’m on my way to the beach.
 

In the way

Something that is ‘in the way’ impedes your progress…
Don’t leave things in the passage where they’re in the way.

…or obscures your view.
I can’t see the stage because his hat is in the way.
 

To sum up:
If you're coming to my house, you are on the way. If you're standing in front of me and won't let me pass, you are in the way.