Do I need to destroy AnimationTracks or they are garbage collected like tweens?
If they’re not parented, active or have a local or global variable pointing to that specific track it will be picked up by GC don’t worry ![]()
So, If I have the Track referenced in a variable it won’t be picked up by the GC? Does this also apply to instances such as tweens?
Sorry I should have prefaced ‘hard’ variable. Basically, if a block of code comes to an end and you can’t access the variable anymore, like if it was created inside a function and that function finishes, it’ll get collected by the GC automatically still. Since the script has no way to reach that variable anymore. And that also goes for tweens as well.