I will try to explain what I want to achieve, maybe it will be easier to understand. I have a precomp of bulb/led footage turning on. In a main comp I have an array of led lights which have an expression sampleImage from a different comp, trying to achieve led display. I have everything figured out, except that I don’t want light to abruptly turn off, but to turn off like it would in real world. So sampleImage spits out a value (doesn’t really matter what) and I tied precomp with timeRemap to activate when value != 0. This is far too complicated with script (I tried), so my only solution is with expressions. Btw, I’m open to other solutions keyframes and markers, just have no idea how to achieve all that 🙂 P.S. Thanks a lot!