Jump to content
Search Community

ScrollSmoother to reduce scroll speed

Sublimio test
Moderator Tag

Recommended Posts

I need to create triggers dynamically in real time based on the scroll position. I therefore need to reduce the scroll speed that occurs with the mouse wheel or with the touch or I could miss the moment in which to create the triggers. Could ScrollSmoother be right for me?

Link to comment
Share on other sites

Hi,

 

Indeed ScrollSmoother has a speed config option that's allows you to do exactly what you're looking for. From the ScrollSmoother docs:

 

speed Number - a multiplier for overall scroll speed, so 2 would make it scroll twice the normal speed, and 0.5 would make it scroll at half-speed. added in version 3.11.4.

 

Hopefully this helps.

Happy Tweening!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...