# Get Keyframes from Animation

You can get all the keyframes of an uploaded animation with this api

```lua
local Sequence = nil
local Keyframes = nil
--
local AsyncSuccess = nil
AsyncSuccess = pcall(function()
    Sequence = KeyframeSequenceProvider:GetKeyframeSequenceAsync(Animation.AnimationId)
    Keyframes = Sequence:GetKeyframes()
    if Keyframes == nil then return end
    -- Keyframes[i].Time
    -- Keyframes[i].Value
end)
```
