Jump to content

Thomas James Thorstensson

GWD + GSAP 3, .from not working but .to is

Moderator Tag

Recommended Posts



Great job on GSAP 3. I'm working for a client setting something up in Google Web Designer (unfortunately but they like it) with the

great GSAP 3+


I can get .to to work like usual but .from won't work:


var tl = gsap.timeline();
tl.from('#baseImage', {duration:1, autoAlpha:0})


Hmm, I wonder why, hmm. Something to do with GWD timeline hmm.


Thankful in advance for any ideas. Meanwhile I will use tl.set to set initial states and then .to since that works.



Link to comment
Share on other sites

Hey Thomas,


What version of GSAP is being loaded? Are any errors given? 

Link to comment
Share on other sites



No errors, 


<script id="js-gsap" src="https://s0.2mdn.net/ads/studio/cached_libs/gsap_3.0.1_min.js"></script>

I now got the from for x and y to work. Just not for autoAlpha, I think it is GWD doing something odd in its rendered CSS will investigate meself thanks anyhow!



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.