3 Replies Latest reply on Aug 25, 2017 11:34 AM by Dan Ebberts

    linear function that at end goes back to start value

    mart-martinlofqvist Level 1

      Hi everyone.

       

      Trying to figure out the best way to create a function that uses a linear(input, min, max, outmin, outmax) setup but, here's the trick: only does that for a specified amount and at the end goes back to the starting value.

      I'm planning on using it to control the scale of a layer when a null layer is just above it, when the null layer is past the layer it goes back to the starting state.

       

      As I understand the linear() function it doesn't have a way to define a specific range that the calculation is based on?

       

      Any help is greatly appreciated!