Jump to content
Search Community

GSAP 3 - Reference parent timeline from child timeline

BillE test
Moderator Tag

Recommended Posts

Quick question, I have searched for this, and have seen posts that say timeline.timeline was a way to reference a parent timeline.  However, it doesn't seem to have this in GSAP 3 or am I missing something.

 

My goal is to get the playhead position of a root timeline from a deeply nested timeline. Thanks you very much.

 

 

Link to comment
Share on other sites

Ineresting, I thought so, vscode intellisense says it cannot be found, however i know its there because i can see the parent property in the browser inspector.

 

It's not the list of properties for Timeline

 

 

Gsap_parent.png

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