Hi!
The solution to this is probably the simplest one ever but it feels like I've tried everything.
How write this with one line of code?
tl3.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05})
.to(animationImg, 0, {x:"-=238", delay:0.05});
I want the img to move 238px and then move 238px and so on every 0.05 seconds.
Thanks in advance!