# Keyframe access to effects in Premiere

**URL:** <https://forums.creativeclouddeveloper.com/t/keyframe-access-to-effects-in-premiere/10301>\
**Category:** Premiere Pro\
**Tags:** uxp\
**Created:** [March 14, 2025, 6:51pm UTC](https://forums.creativeclouddeveloper.com/t/keyframe-access-to-effects-in-premiere/10301 "2025-03-14T18:51:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmeeker](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gmeeker/32/4400_2.png) [@gmeeker](https://forums.creativeclouddeveloper.com/u/gmeeker)\
**Post date:** [March 14, 2025, 6:51pm UTC](https://forums.creativeclouddeveloper.com/t/keyframe-access-to-effects-in-premiere/10301/1 "2025-03-14T18:51:47Z")

</div>

I’m trying to test the “Get Keyframes At Time” button in the sample panel but I can’t get it work. It’s not critical to us until after CEP parity, but I wanted to try it since it’s in there already.

1. Create sequence
2. Apply Gaussian Blur effect
3. Set a keyframe for Blurriness parameter (first parameter)
4. Click on “Get Keyframes At Time”
5. Console says “Illegal parameter type”

I wasn’t sure if the APIs are 1-index based (the code uses 1 not 0) but changing it to 0 didn’t help. Is this trying to access the first parameter of the first effect?

It was mentioned that arbitrary data parameters are an issue but this is just a slider.  
We might still want to access arbitrary data if we know it’s our own plugin.

We would also like to access effect parameter values that are not keyframed (for example, our own arbitary data parameters might not be allowed to animate).

Anyway, thanks for this feature! It seems like it opens up exciting opportunities to write panels and effect plugins that collaborate together.

---

<div class="post-metadata">

**Author:** ![gmeeker](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gmeeker/32/4400_2.png) [@gmeeker](https://forums.creativeclouddeveloper.com/u/gmeeker)\
**Post date:** [March 14, 2025, 9:09pm UTC](https://forums.creativeclouddeveloper.com/t/keyframe-access-to-effects-in-premiere/10301/2 "2025-03-14T21:09:55Z")

</div>

Partially answering myself: it looks like ComponentParam.getValueAtTime will work for effect parameters that aren’t keyframed, although I haven’t tried it yet.

---

<div class="post-metadata">

**Author:** ![CathyDong](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@CathyDong](https://forums.creativeclouddeveloper.com/u/CathyDong)\
**Post date:** [March 17, 2025, 11:44pm UTC](https://forums.creativeclouddeveloper.com/t/keyframe-access-to-effects-in-premiere/10301/3 "2025-03-17T23:44:20Z")

</div>

Hi!

Yes, this is a separate issue from data parameter we discussed earlier.  
The reason you are having issue with `get keyframes at time` button is because in sample panel, we point to the first component of trackItem, which is in fact the **Motion** Component/effect as default. So you were accessing **Scale** parameter if you did not modify the component index at the code.

Please note that the component like “ **Motion** ”, “ **Opacity** ”, and “ **Time Remapping** ” are also considered part of component of `ComponentChain` if applicable.

If you’d like to refer to the Blur effect with the keyframe you added, you will likely have to modify the line 54-55 of `keyframe.ts` as

```auto
              component = componentChain.getComponentAtIndex(2); // check blur effect, you can use getDisplayName() API to confirm the component 
              componentParam = await component.getParam(0); // use first parameter, the blurriness 

```

and rebuild the panel to access the blur effect instead of motion component.

`getStartValue()` API can also be used for accessing effect parameter that are not keyframed

Thanks for trying out UXP!

---

<div class="post-metadata">

**Author:** ![xhians](https://avatars.discourse-cdn.com/v4/letter/x/f04885/32.png) [@xhians](https://forums.creativeclouddeveloper.com/u/xhians)\
**Post date:** [May 23, 2025, 12:17pm UTC](https://forums.creativeclouddeveloper.com/t/keyframe-access-to-effects-in-premiere/10301/4 "2025-05-23T12:17:14Z")

</div>

I tried getComponentCount on trackitem there are only 2 index, motion and opacity.  
then how to access timeremaping?

![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/f/f7785bc44ed4570c9c75a9e7e2ccde233a14c0d3.png)
