Increase Slider value from another layer.
I want to make a score counter for two teams. I have a counter (slider) for the first command and for the second, they are in the same layer (number 1). In other layers, I do some mathematical actions as a result of which I need to increase the value of one of the sliders. Each subsequent layer should do the same. Probably there should be a function that will increase the value of one of the slider, and it can be called from any layer and it will increase the value of the slider.
const scaleController= thisComp.layer("scoreleft").effect("scoreleft")("Slider");
$.newScale = 59;
scaleController, 0, 100, [$.newScale+1];