I also created a new float variable called Accumulated Time that we’ll use to manually keep track of what frame the animation sequence should be on.
Finally, in the function, use the logic above. It’s checking if your IsRunning variable is true, and if so, adding time to the accumulated time variable and updating the frame of the animation. If your IsRunning variable is false, it won’t change the time, which provides the current pose “freeze frame” effect.