I'm using ScrollMagic
for the first time and as far as I got I understood how to trigger my animation based on starting element and duration
Isn't possible to set a end trigger instead of duration?
var smcontroller = new ScrollMagic.Controller();
var smscene1 = new ScrollMagic.Scene({
triggerElement: "#products-box-1",
offset: 200, duration: 1600
})
.setTween(tweencan)
.addIndicators()
.addTo(smcontroller);