Jump to content
Search Community

How to detect each reset of a wrapped quickTo() method

Michaël Garcia test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

I'm opening a new ticket following this one
I'm making a translation loops perfectly each time it's out of the wrap() range. It works like a charm (cf the CodePen)

 

Now, I'd like to detect each time the position of my shape is reseted but I don't manage to achieve this.

Indeed, I tried to detect when the value is out of range on my wheel event but there's a delta of time between the current wheel value and its application on the quickTo(). Does anyone know how can I properly detect it ? Thank you very much

 

See the Pen gOdNBVP by GreenSock (@GreenSock) on CodePen

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