Capítulo 30 de 411
gsap.set() immediately applies properties to target(s) — functionally a zero-duration to() tween with a more intuitive name.
gsap.set(el, {x:100}) is identical to gsap.to(el, {duration:0, x:100}).gsap.set(".class", { x: 100, y: 50, opacity: 0 });
gsap.set([obj1, obj2, obj3], { x: 100, y: 50, opacity: 0 });
set() for initial/reset states before an animation begins, instead of writing duration: 0 on a to() call.gsap.quickSetter() performs better.