on cue

US /ɑn kjuː/
UK /ɑn kjuː/
"on cue" picture
1.

как по команде, в нужный момент

if something happens on cue, it happens just after someone has said or thought that it would happen

:
As soon as I mentioned his name, he walked on cue into the room.
Как только я упомянул его имя, он как по команде вошел в комнату.
The rain started on cue, just as we were about to leave.
Дождь начался как по команде, как раз когда мы собирались уходить.