airbnb/lottie-web

I can't edit the text value of the text layer keyframe in After Effects.

gyuhongkim opened this issue · 0 comments

Hello, I am trying to export json through bodymovin in After Effects and change the value of the text through JavaScript.

As shown in the attached image below, the text layer has two keyframes.
스크린샷 2024-02-17 오후 1 58 12

animationData.layers[0].t.d.k[0].s.t = "11";
animationData.layers[0].t.d.k[1].s.t = "22";

Changing the value through JavaScript

It works fine if there are no keyframes, but

If there is a keyframe, the value does not change.

The path is not correct or anything like that.

We confirmed that the value changes dynamically when there is no keyframe.

The value does not change only when there is a keyframe.

thank you

How can I solve this?