AsKadir Posted July 8, 2020 Posted July 8, 2020 Hey! I have an issue with my offset, if you mouseover text you will see image reveal and mouse follow. So everything is great, but for example I have block above whose height can be changed, so my offset after that will be not right. Can you give me advice, is there any methods in gsap that can update offset()? I thought about gsap.ticker(), but not sure is it right direction or not. See the Pen PoZePyo by ChicagoJostik (@ChicagoJostik) on CodePen.
AsKadir Posted July 8, 2020 Author Posted July 8, 2020 Never mind guys about this. All should I do, just move variables: offset = self.offset(), offsetL = offset.left, offsetT = offset.top, inside cursorMove(). ? Can I delete my post?
ZachSaucier Posted July 8, 2020 Posted July 8, 2020 2 minutes ago, AslanGoi said: Can I delete my post? Nope - it might be helpful to others later on! 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now