General
compare values of fader.x
Started by shanekoss on .
Sign in or create an account to join the conversation.
wondering if anyone has an idea to perform a function based on a change in x.
i am wanting to perform one function if the fader value is increasing and a different function if the fader value is decreasing.
thanks!
i am wanting to perform one function if the fader value is increasing and a different function if the fader value is decreasing.
thanks!
Add lastX expression to fader
if(x>lastX) functionA;
if(x<lastX) functionB;
lastX = x;Or . . .
Under your Fader makes 2 scripts executing on x - Call one 'up' and set to '+' (increasing) and the other 'down' and set to '-' (decreasing) for execution timing . . .
You now have 2 separate scripts that you can program how you like . .
Cheers
MM
Under your Fader makes 2 scripts executing on x - Call one 'up' and set to '+' (increasing) and the other 'down' and set to '-' (decreasing) for execution timing . . .
You now have 2 separate scripts that you can program how you like . .
Cheers
MM
thanks!