Take one’s cue from (someone)

To use another’s behavior or reactions as a guide to one’s own.

The musicians took their cue from the conductor when the orchestra performed the musical piece.