fromEnglish Grammar Today
In the way
If something or someone isin the wayorin my/his/our way, it is in the spacewhich someone needs for a particular movement or action:
She can’t do her dance because the table isin the way. Can you help me move it?
On the way
We useon the wayoron my/his/our way (to) when we talk about the route, direction or path to somewhere:
We could leave early and have breakfaston the way.(during our journey to somewhere)
I wason my way toPeter’s house when I met him in the street.(I was going to Peter’s house when I met him)
We can useon the way to(plus a noun or an -ingform of a verb) to mean ‘close to’ doing or completing something:
Brazil ison the way tobecomingone of the world’s strongest economies.