Jump to content
Search Community

Can gsap update offset() by ticker()?

AsKadir test
Moderator Tag

Recommended Posts

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

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