Jump to content
Search Community

How to reverse the animation with GSAP Flip and ScrollTrigger

momo12 test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

8 minutes ago, Rodrigo said:

Hi,

 

You weren't too far from it actually. All you were missing is check if the element was reparented or not and restore it to it's original parent element:

 

 

 

Hopefully this is what you were looking for.

 

Happy Tweening!

Thanks a lot for the tip! 

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