How can I add a tween in PhaserJS to keep moving the object further from where it stopped?

The need is to run the object and stop, now run further and stop and so on, according to the number parameter of the function. If I add repeat in the tween, it starts from the original starting point on repeat.

I tried to add iterators with the tweens with for loop also. But they don’t give pauses on the stops. I added delay and completeDelay to get the pause but to no use. It just runs straight to the final destination. I even tried setTimeout but no help.

Hi,
To give a pause you can use hold:
https://photonstorm.github.io/phaser3-docs/Phaser.Types.Tweens.html#.TweenDataConfig

.hold is to be used on yoyoing.
My object is not going to yoyo.

My need is to run object from pointA to pointB, then pause, then pointB to pointC, and so on.

Ok, perhaps a tween with timeline:

Hey! Thanks.
This is exactly what I wanted… :smile: