Forum Discussion
DolandRuiz
4 years agoCommunity Member
Animating the size of an object
I've gone through the threads and read some super old 9y posts but there are no real solutions to simply animate the size of an object.
I've looked into the method of duplicating the object and th...
DolandRuiz
3 years agoCommunity Member
hmm is that web object selector specific to your file? I tried it and cannot get my web object to move. Or maybe the move code is wrong:
var webObject1 = document.querySelector("#slide-window > div > div > div > div > div.slide-layer.base-layer.shown > div.slide-object.slide-object-webobject.shown.cursor-hover");
gsap.set(webObject1, {y:"-365"});
I basically have the web object at the bottom, out of frame so that it preloads, then with the javascript I want it to move to the center so that it's visible. It works great with the motion path animation but the minimum duration is .10 so you can see it move a tiny bit. I'd rather have it just appear in place.
Related Content
- 8 months ago
- 10 months ago
- 10 months ago