[SOLVED] How to prevent adding tween manager twice

I’m using tweening to move objects across the screen. When I go to a different scene then come back, they all go at double the speed. This is the same behavior that I get if I run


twice, which makes me think that it’s being caused by that code running again when I come back to the scene (since it’s in initialize).

Is there a good way of preventing this? Perhaps a way of checking if the tween manager is already added?


Hi @Ezra_Szanton,

From what I recall there is no need to add the tween manager explicitly, the only thing required is including the library in your project:



OH I misinterpreted the instructions on the github. This worked! Thank you!

1 Like