This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Peter Lada
Posted Sep 08 - Read on Facebook

Does anyone know if its possible at all to listen for a change event on scrollY/X? I want to use a modulator when using the `scrollToPoint` method of a scroll component, but it doesnt seem to trigger move/scroll event listeners.

4 Comments

Joshua Tucker

Hey Peter! You can listen to the content layer's y position.

ScrollComponent.content.on "change:y", ->
Do what you wish

Peter Lada

Joshua Tucker good idea! i'll try that -- thanks

Joshua Tucker

Peter Lada Right on! Let me know if that works for you.

Peter Lada

It did indeed, thanks :)

Read the entire post on Facebook