How to do it? Appearance of the name of the anchor menu only at the beginning of reaching the corresponding section.

For example: I have 4 items of the anchor menu, I need the 1st item to appear only upon reaching the section that refers to it and disappear when scrolling to the next section. Next, the next 2nd point, etc.