Jump to content
Search Community

GSAP 3 warnings?

jesper.landberg test
Moderator Tag

Recommended Posts

If you want to stop GSAP from warning you when you create tweens of targets that don't exist, you can do this: 


But the invalid tween isn't suppressible, and I wouldn't recommend it either because it means you're literally trying to tween properties that don't exist on the target. I'd strongly recommend fixing your code rather than trying to suppress the warnings. 


It'd probably help if you provided a reduced test case, like in codepen, if you're still having trouble. We'd be glad to help. It's just tough to troubleshoot blind. 

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