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

Parenting Values to a slider accounting time over value

Explorer ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

Is there a way to create a slider that rather than sets the value of a property to the exact number the slider lays on, takes account of the furthest keyframe of that property to the left, and the furthest to the right, and can space between these two by going up and down the slider? this is already a feature in the duik bassel/angela plugin, but with that you have have a slider layer in the comp viewport rather than in the effects. let me know if you have any ways to achieve this or if I should re explain it, (and no I don't mean applying time remapping and parenting to the slider)

TOPICS
Expressions , How to

Views

119

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 Expert ,
Mar 23, 2023 Mar 23, 2023

Copy link to clipboard

Copied

LATEST

I'm not sure if this is what you mean, but maybe something like this:

t = time;
if (numKeys > 1){
	s = effect("Slider Control")("Slider");
	t1 = key(1).time;
	t2 = key(numKeys).time;
	t = linear(s,0,100,t1,t2);
}
valueAtTime(t)

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