how to gel information of touchosc faders

hi! any idea of how to get information of a osc fader (in touchosc) and compare it with a sensor value?
i want to make a light turns on when the sensor value is lower that the touchosc fader value. thanks