x = effect("Slider Control")("Slider"); x = x % 1; if(x < .5) x = linear(x, 0, .5, 1, .5); linear(x, .5, 1, 50, 100);