随物应机

随物应机 suí wù yīng jī

顺应事物而机变。

百科

顺应事物而机变。