//this right here is a code inside a function which gets called multiple times and responsible to animate multiple objects from its initial position to targeted position(object and position changes after every iteration).
//Also a progress bar is implemented which is responsible to show the progress of the animation.
this.tween = new TimelineMax({ onUpdate: showProgress.bind(this)});
this.tween.to(from, { duration: 10,
x: to.x,
y: to.y,
z: to.z
,});