Jump to content
Search Community

Is gsap.quickTo incompatible with delay property ?

Pamplemousse Communication test
Moderator Tag

Recommended Posts

Hello,

 

I am trying to use gsap.quickTo with a delay. However, this property of gsap.to seems not to work in this case.

However, the documentation of gsap.quickTo seems to indicate that "It's a regular Tween instance, so you can leverage any of its methods and properties."

 

Is using gsap.quickTo incompatible with the "delay" property?

See the Pen GRGjXrm by Striffly (@Striffly) on CodePen

Link to comment
Share on other sites

That sentence in the docs was talking about the .tween object and its methods/properties (not the special properties passed in via the vars object). It wouldn't make sense to have .quickTo() honor delay - it starts over immediately as soon as the new value is passed in. If you really need that functionality, then use a normal tween instead of a quickTo(). 

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