How to call JS function when an element scrolls into view?

Any ways i tried don’t work. I don’t understand why but it seems that Webflow’s js code blocks them.

Any ideas? Please help me. It’s really important thing.

Hi, @Peter_Potapov, could you help to share a link to your site: Share a read-only link | Webflow University, as well as a screenshot of the elements in the designer that you are targeting and a link to the published site?

Also, could you please share the custom code being used?