Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Thomas James Thorstensson

GSAP 3.2, Master Timeline Stop is Not A Function

Recommended Posts

Hi fellow Green Sockers,

 

A small question. I have

 

Animation.masterTL = gsap.timeline({ paused: true, repeat: AnimationSettings.loops, repeatDelay: AnimationSettings.loopDelay });

Animation.masterTL.stop();

 

This throws the error that stop is not a function of the timeline.

 

Ok so the stop is called further down in the code after that the timeline starts. Is stop not part of GSAP 3+; I cannot see it in the documentation for 3+

 

This works fine:

 

Animation.masterTL.paused(true)

 

Thankful for help, well I guess I sorted it anyhow, so now this is just on "curious" flag level (orange with a tint of green).

 

Thomas

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