think on your feet
US /θɪŋk ɑn jʊər fiːt/
UK /θɪŋk ɑn jʊər fiːt/

1.
berpikir cepat, bereaksi cepat, berimprovisasi
to be able to think and react quickly, especially in an unexpected situation
:
•
A good salesperson needs to be able to think on their feet.
Seorang penjual yang baik harus bisa berpikir cepat.
•
When the unexpected question came, she had to think on her feet to give a suitable answer.
Ketika pertanyaan tak terduga datang, dia harus berpikir cepat untuk memberikan jawaban yang sesuai.