Does anyone how to use AnimationClipProvider:RegisterAnimationClip()?

I know what it used for, but i really dont know how to properly use it, there is no info in the documentation on how to use it or an example code

(You need to get the animation clip first) When you get an animation clip, you can use it to do useful stuff like get the key frames in the animation, or get the curve animation (idk what this is), here’s an example code:

local animation = — animation id here
local APS = game:GetService(“AnimationClipProvider”)
local animationclip = APS:GetAnimationClipAsync(animation)
— Now do cool stuff with it
animationclip:GetKeyframes()

the code doesnt even use the " AnimationClipProvider:RegisterAnimationClip()" and as far as i know the use of it its to test animations before publishing them or something like that, so there is no way i could use an animation id in the first place

That’s interesting, I’ve only ever used it to get the key frames since you can’t do that with an animationtrack.

As for registering, you need to use getclip either way. Because registerclip needs an animation clip which getclip re turns