You could probably use Set Driven Key or some sort of expression if you wanted it to happen automatically.