How can I return this data from Function ?

Hi guys,

I need help with this. How can I get the scrollY data out from textEffect() function as a number?

The thing is I want to do is get the Y position and show some effects when user went in this position. I know I can create an anchor and use onviewEnter() but I want to learn with this way also.

Perhaps this post can help you …
https://www.wix.com/velo/forum/coding-with-velo/scrollto