Jump to content


How to nice animation Button Similar combo select item?

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi guys

I want to be the new face animation.

For example, the yellow circle to the top of the cosine right move.

Please help me.

See the Pen RPQxNo by Djkarimi (@Djkarimi) on CodePen

  • Like 1
Link to comment
Share on other sites

Not sure what you mean. Do you have an example?

  • Like 1
Link to comment
Share on other sites



Just like Blake I found myself a bit confused about what you intend to do. My best guess is that you're after a toggle button feature that play/reverse a specific timeline instead of creating one on each click event.


I tinkered your codepen a bit and this is what I came up:


See the Pen zGRWEJ by rhernando (@rhernando) on CodePen


If this is not what you need, please be specific about your needs and issues so we can get a better idea.

  • Like 2
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.