Exactly as planned (2,3)
I believe the answer is:
on cue
(Other definitions for on cue that I've seen before include "Pat" , "Explanation as to how something might work" , "At the correct moment, like efficient actor" , "Where chalk may be put" , "At the correct moment, like actor prompted to speak" .)