Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

isActive(); TweenLineMax

Recommended Posts

Hi guys first time asking help here ?,


I'm doing some stuff with timelinemax and trying to make animation without make another starting while the first is active, i've discovered the isActive property but even by trying it and reading some other post i didn't get any solution for my method, does anyone can help me :) thank you


if (!tl.isActive()) {
.set(this.$refs.mask, { clearProps: 'all' })
.set(this.$refs.tabs, { clearProps: 'all' })
.set(icons, { clearProps: 'all' })
.set(mask, {
.to(this.$refs.picture, 0.8, {
ease: Power4.easeOut,
}, 'move')
.to(this.$refs.triggers, 0.1, {
opacity: 0,
ease: Power4.easeOut,
}, 'move')
.to(mask, 0.3, {
autoAlpha: 1,
}, 'move+=0.4')
.to(tab, 0.3, {
backgroundColor: '#F4F0E9',
ease: Power4.easeOut,
}, 'move+=0.2');
Link to post
Share on other sites

Not sure what you are attempting to do and what problem you are facing.


Can you post a simple codepen demo so we can understand your problem?



  • Like 2
Link to post
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.