question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Modify time of keyframe

See original GitHub issue

Awesome tool!

Is there a way to shift the time of keyframes dynamically? Inside of after effects I was able to accomplish this with something like valueAtTime(time-2), but is there a way to make that 2 dynamic so that we can provide that value while loading the animation?

Would I have to overwrite a property with something like var $bm_rt;\n$bm_rt = valueAtTime($bm_sub(time, 2));?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
Inventsablecommented, Nov 20, 2019

Hello, maybe reference the 2 as the value of a slider control within AE, rerender with the new expression, and then use lottie-api.js to change the value of this layer.effect on launch?

1reaction
Inventsablecommented, Nov 21, 2019

Not sure if this is still up to date:

https://github.com/airbnb/lottie-web/wiki/TextLayer.updateDocumentData

There may have been a more recent Issue filing that solved this with an updated solution, I’d search the Issues here too

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modify keyframes in the Timeline in Motion - Apple Support
In the Timeline track area in Motion, drag the keyframe left or right to adjust its position in time. Edit a keyframe value...
Read more >
How to Move Keyframe Timings and Add Ease ... - YouTube
Key moments. View all · adjust the keyframe · adjust the keyframe · adjust the keyframe · adjust their timing on the video...
Read more >
Editing, moving, and copying keyframes in After Effects
Modify a single keyframe in the Graph Editor ... In the Timeline panel, show a temporal property for a layer. If necessary, click...
Read more >
Keyframing | Unreal Engine 4.27 Documentation
You can change the time of a keyframe by dragging it left and right. Multiple selected keys can also be moved relative to...
Read more >
How to Set Keyframes in After Effects - School of Motion
STEP 1: SET YOUR FIRST KEYFRAME WITH THE STOPWATCH ICON · STEP 2: MOVE THE PLAYHEAD TO THE SECOND LOCATION · STEP 3:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found