Jump to content


isActive(); TweenLineMax

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

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 comment
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 comment
Share on other sites

sure sorry i'll start here first.

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.