• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

An expression to get the delay time

Community Beginner ,
Apr 04, 2024 Apr 04, 2024

Copy link to clipboard

Copied

Hello everyone!
I know, I know, you've been asked that question a million times 😃 But somehow I still can't get the current "valueAtTime" from the Slider Control layer. 

I want the animation to start with the correspondent layer (it's "Outlines 2 " in the screen). Meaning a delay must be equal to the current comp time. But whatever I do the delay doesnt seem to pick the current time (the value between Control-Delay keyframes) but takes only the last keyframe value (which is 3 on the sceen). So if I move the below layer - the animation will start at 3 seconds anyway. Doesn't pick the values in between...
Could you pleae tell me what am I doing wrong? )

Thanks!
Anastasia.

msFiBi_0-1712246154025.png

 



P.S. I want the value only for vector-layer, one of the scales (another one is always 100% so it says firmly "100" in the expression as one of the parameters). 

TOPICS
Expressions , How to , Scripting

Views

158

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 04, 2024 Apr 04, 2024

Copy link to clipboard

Copied

You need to integrate the values if you animate dynamic parameters. AE has no built-in persistence of values. Read this to understand the problem and grab the relevant code bits:

 

https://motionscript.com/articles/speed-control.html

 

Mylenium 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 04, 2024 Apr 04, 2024

Copy link to clipboard

Copied

LATEST

Thank you.
It seems like no "simple way" without knowing math (
BUT I figured the task out by "start animation at marker point" and it's exactly what I needed. Just had to place the market at the beginning of every layer and then moved the layer and animation moved with layer, whoohoo!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines