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

How to change Y Position from 0 to value without keyframe

New Here ,
Sep 03, 2024 Sep 03, 2024

Hi guys, please tell me how to solve it. We have a shape with X Position and Y Position, the Y Position value is set via slider control. How to make Y Position change from 0 to this value, but only without keyframes in slider control?

TOPICS
Expressions
199
Translate
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

correct answers 1 Correct answer

Community Expert , Sep 03, 2024 Sep 03, 2024

So you have the position dimensions separated, is that correct? If so, then maybe something like this for Y Position:

s = effect("Slider Control")("Slider");
tStart = 2; // time to start move
dur = 1; // move duration
linear(time,tStart,tStart+dur,0,s);
Translate
Community Expert ,
Sep 03, 2024 Sep 03, 2024
LATEST

So you have the position dimensions separated, is that correct? If so, then maybe something like this for Y Position:

s = effect("Slider Control")("Slider");
tStart = 2; // time to start move
dur = 1; // move duration
linear(time,tStart,tStart+dur,0,s);
Translate
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