Restyle a particular trace, instead of all

Is there a way to create a slider that restyles a particular trace in the data list? Adding an indices key to each step of the slider, or to ['layout']['sliders'], is not accepted.

Do I have to specify the attribute values for all traces in each step of the slider?