Use a line as player indicator in chart

I want to add a vertical line on top in the chart, this line must move dynamically the same as a player. Is there any setting in Plotly for this? I used spikes but it’s not good for this approach. I want one line the same as the green line in the below picture.