How do you link Volume Slider to an object?

I noticed in the MX tutorial how to make the slider relate to the volume – but in the example shows circles resizing in relation to the slider – and it doesn’t say how to do that – I guess my question is what is the code to link a slider to resize an object,


The website is great Thanks!