Jump to content
Search Community

ScrollTrigger Batch with start at end of element

sixtillnine test
Moderator Tag

Go to solution Solved by mikel,

Recommended Posts

I've got a staggered scroll trigger batch using the following code:

 

ScrollTrigger.batch(".tile", {
        onEnter: (elements, triggers) => {
            gsap.from(elements, {
                opacity: 0, 
                stagger: 0.15,
            });
        }
 });

Is it possible to have the start point of the animation to be the bottom of the tile element?

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