Tween movement Loop

Helloo! how coud i use tweening in this type of movement. Let’s say i have the location of this 1st circle using center.X and Center.Y, after a few seconds the character will stay then after that it will go to the 2nd location, then so on and so forth (it will loop through all the locations).

Use variables,
If tween 1 is finished, change the variable to 1
if variable = 1, tween to 2nd point,
tween 2 is finished, change the variable to 2

and loop goes on

1 Like

I suggest you to delete the tween when it is finished

1 Like

There is a option like that too :sweat_smile::sweat_smile::sweat_smile::sweat_smile:
I never noticed

1 Like

No need for variables, tween identifiers are enough already:

5 Likes