How many times an animation should be loaded?

I was recently making animations for my game and specifically for tools, when I was scripting the animations I didn’t know when to use the LoadAnimation function and should I load the animation every time the player equips the tool, or I should just load it one time once the LocalScript runs, I am trying to get the best way possible to play animations. I tried searching everywhere but I didn’t find an accurate answer to my question.

Load the animation once then play it as many times as you desire, there’s no point reloading it multiple times as you’ll just be reloading the same AnimationTrack instance to play.

1 Like