Jump to content
GreenSock

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

Is it possible to anchor to a certain animation?

Recommended Posts

I have a page full of animations that are created with timelinemax. Is it possible to create anchor buttons that will trigger a certain line of animation from a timelinemax scene? 

For example If I have an animation that at first rotates a box, then moves it in x axis 50 pixels and then changes it's color, is it possible to have a button that will skip let's say the rotation and finishes the rest of the animation? 

 

Thanks in advance. 

Link to comment
Share on other sites

Hey Sotiris and welcome.

 

It sounds like you're wanting the behavior of GSAP's labels in combination with buttons. The "Understanding the Position Parameter" article may help in understanding how to use them. Also this older forum thread (that uses GSAP 2 formatting but the technique is the same):

 

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