present participle of alternate
"The traffic lights were alternating between red and green every thirty seconds."
occurring by turns; first one and then the other
"alternating feelings of love and hate"
That alternates.
"The traffic lights at that intersection are alternating between red and green every thirty seconds to keep vehicles moving smoothly."