Jump to content
Search Community

invalid pause tween value: true

hackfin test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I am testing an animation through Google Chrome which currently is not working.  I do not receive an error but the console log reports "invalid pause tween value: true". In general, what does this mean?  I searched the forums and did not find any topics on this message so I though I would go ahead and ask.  If it helps, below is my code for the tween:

var fadeOut = function (el) {
	var animation = TweenLite.to(el, .75, {
			autoAlpha : 0,
			bottom : "-=100px",
			ease : Linear.easeNone,
			paused : true

	return animation;

Link to comment
Share on other sites

In the documentation under the tweenLite.paused() method it states "You can set the paused state initially by passing paused:true in the vars parameter.  I assumed it meant the vars parameter of the tweenLite.to() since tweenLite.paused() does not have a var parameter.  Is this a typo in the documentation or did I read this wrong?

Link to comment
Share on other sites

You read that correctly... :)


but check what you got : invalid pause tween value: true "


that's why i said use paused instead of pause .


pls check this out : 

See the Pen yOVxeZ by MAW (@MAW) on CodePen


btw , you can defined paused tween in this way too :

TweenLite.to( obj , 1, { .... } ).paused( true );
  • Like 2
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...