Change of text element when scrolling

hello community,
I have come across this in prototype one, i have few sections in one desktop page. I have created a sticky text shows in which section we are in. i want to change the sticky text according to the section on one page we scroll in.

Hi there, thanks for reaching out!

We have a Sticky Scroll tutorial on our YouTube channel that appears to cover something similar to what you want to achieve. Please take a look here: https://www.youtube.com/watch?v=drg7jG6GTFg&t=279s

Hope it helps! Let me know if there are any additional points I might be missing or if my explanation is unclear. I want to ensure I fully address your questions.

Thanks!