I am looking for a word
Hi dear native speakers
I heard a word a few months ago but I can't remember it now.
The meaning of the word is sth like this: for example you want to go to a bank and your wife asks you to have lunch before leaving. But you say : I will go to a restsurant "on the way" going to the bank.
How do you say convey this idea? I am sure if I hear the word, I will immediately remember it😭 what is that word?