Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
davidkizler

GSAP and Scrolling

Recommended Posts

Does GSAP have built in scroll functionality to trigger animations or do I need to use another library such as ScrollMagic or Skrollr?

Link to comment
Share on other sites

Hello davidkizler,

 

ScrollMagic does use GSAP for its scrolling and animating.

 

You could try to use the GSAP ScrollToPlugin for animating scrolling.

 

Here is a link to the ScrollToPlugin Docs: http://greensock.com/docs/#/HTML5/Plugins/ScrollToPlugin/

 

Also here is a simple example of using the ScrollToPlugin.

 

See the Pen AsLfc by jonathan (@jonathan) on CodePen

 

Happy Tweening!

 

:)

  • Like 1
Link to comment
Share on other sites

Yes you will need to either use another library like ScrollMagic (or create your own) if you would like GSAP tweens to be triggered at specific scroll positions. This isn't a built-in feature of GSAP.

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.
×