You would want to use a linear() expression. That should be enough to get you started in the right direction! Once you learn how to use it, it is very powerful. Have fun!
thank u, it is really helpful
but i'm still stuck
the 207 and 197 is the location range
and 0-10 is my slider range
but the problem is that only when i changing the location values the slider values changes
but when i try to change the slide values, the software wont let me
What did you apply that expression to?
null object with a slider control
Okay. That's not how to do it. The expression needs to be applied to the value that you want to change.
Here is an example project: Linear to drive position with slider
(I don't know what version you are using, so I saved it back to version 12 of AE. If you need me to save it back to CS6, let me know.)
In the expression, I pointed the x value to be its own regular value (that's the value part) and then the y is set to be the linear result. X and Y are an array, so they have to be displayed as [x,y]. Thus the value in x and the expression variable in y.
man, thank u so much! im still not controlling the expression 100 percent but i did succeed to do the thing i tried with your code, and i will work on it and learn it well. thanks!!!