Tween rotation behavior question

Hi.

Is the tween function not a continuous event??
I am making an object that rotates 180 degrees every time I touch the screen. However, it only responds to one touch and does not rotate continuously.

It’s tweening to 180°, so it will only move once.

You could add 180 to the current angle. You can use mod() to keep the angle between 0 and 360. You might also want to check if the tween exists or isn’t playing or you could use your boolean or enable/disable the button.

2 Likes

Oh, that’s a good solution. Thank you.

1 Like