I'm trying to understand this interaction

I’m trying to understand how this is done where as the user scrolls through the form, items in the left bar are highlighted.


If you look at the preview you in the designer you will see those ‘items in the left bar’ are links. Look at the style for the ‘Current’ state of the link and you will see the transistion effects and colour added to create the highlight.