
jeff2019
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by jeff2019
-
-
Hello,
I am discovering GSAP and I did an exercice with TweenMax,
And I don't understand why I have to write :
TweenMax.set('....', {transformPerspective: xxx});
If I write the same thing with TweenMax.to and it don't works ...
Can someone tell me when we have to use the 1st one and the 2nd one ?
TweenMax.to OR TweenMax.set
in GSAP
Posted
Hi,
Thank you all for your answers it helps me to understand
Yep I wrote :
TweenMax.set('#box',{transformPerspective:600});
TweenMax.to('#box',4,{rotationY:360});