So Im trying to turn a layer on and off using this well known expression, in After Effects 2019 and for the hell of it I dont know why it isnt working. It works fine in After Effects 2015 and 2018. So im thinking 2019 has a problem or something. Here is a screenshot below. Any help if appreciated.
I have also tried using the expresson below also with no luck:
capture.png
thisComp.layer("Adjustment Layer 1").effect("Checkbox Control")("Checkbox") ==1)100 else 0;