Jump to content
Search Community

Nanetten

Members
  • Posts

    2
  • Joined

  • Last visited

Nanetten's Achievements

0

Reputation

  1. Thanks, I fixed it doing it like in the block of code.
  2. Basically I have two "tweens" stored as functions and I want to use isActive() to know when to trigger the next animation, this is my first time using GSAP so I feel a bit lost. I read the documentation and checked out this example but I couldnt figure it out. Here is what I mean (or go to line 8 and 23 in my codepen) : var toCenter = function(element) { TweenLite.to( element, 0.5, {opacity:1, yPercent: -50, delay: 0.5}); } if (!toCenter(element).isActive()) { // code } Thanks for your help.
×
×
  • Create New...