How can you change the colour of the menu text when you scroll?

I am trying to change the colour of the menu when I scroll the same way that you can change the background colour of the header when you scroll. Is this possible?

Thanks in advance

Hi, Im Ido from Editor X,

If you are referring to changing the background color of a menu, this effect could be achieved using some velo code.

You cannot access the background of a menu component through code,
but if you were to put the menu inside a container then you could change the background of the container itself.

Hi Ido,

I’m looking at changing the colour of the text of the menu when you start scrolling, not the background. Is it possible to do that?

Thank you