见机行事

listen to the pronunciation of 见机行事
Китайский Язык - Английский Язык
to play it by ear
see the opportunity and act (idiom); to act according to circumstances
to use one's discretion