How to change color over time?

Another way to change between 2 colors (or textures) is to create a linear interpolate node and animate the alpha. In order to switch from Material1 to Material2 and back (0.0 to 1.0 to 0.0 ). The Set Vector parameter value node (from the Create dynamic Material Instance), needs to be a ‘set scalar parameter value’ however that can take a float value. And the timeline needs to be a 0 value and a 1 value over 2 seconds for example.