Forum Discussion
MathNotermans-9
5 years agoCommunity Member
Storyline360, Animation and GSAP ( Greensock )
Hi,
Trying to figure something out in SL360 i stumbled upon the ds-bootstrap.min.js file thats added to the lib/scripts folder when publishing a Storyline360 file. In that file are GSAP(Greensock...
TylerPerras
5 years agoCommunity Member
Just an update. The gsap.set
function turned out to be exactly what I was looking for. What I do now have 2 images. one on the slide and one off of the slide. When the user clicks a button, the one on the slide gets hidden, and I use its position to place the one that was off of the slide. This way the position is always correct regardless of how the slide is resized.
I used your method to accurately gather the position of objects on the slide. So far it works great!
Edit: Changed gsap.to
to gsap.set
as that is what I meant to type