So there are some objects in my game with floating anim. I used tweenservice and created infinite tween infos by giving -1 repeat count. Is it neccessary to :Cancel() tweens before destroying the parts?
1 Like
You don’t need to cancel an infinite tween before destroying the part. When the instance is destroyed, all tweens running on it are automatically cleaned up by the engine. Calling :Cancel() manually won’t hurt, but it’s not required and won’t prevent any memory leaks on its own.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.