Skip to main content
Participating Frequently
January 25, 2022
Question

How to control value by Expression Control

  • January 25, 2022
  • 1 reply
  • 161 views

Hello! I have the expression value (-200) that should be tied to one of the Expresiion Control methods (Slider Control, for example). So, how can I do that? It doesn't have to be a value. Maybe just a slider or a percentage. Thanks!

 

This topic has been closed for replies.

1 reply

Mylenium
Legend
January 25, 2022

That's what interpolators like linear() or ease() are for. I suggest you actually read the online help on these things or find a tutorial explaining the basics. the basic syntax is:

 

linear(slider,sliderMin,sliderMax,outputMin,outputMax);

 

Apparently the min/ max values need to be filled in with whatever values you need.

 

Mylenium