Changing the Size of Props With Udon

I am fairly new to udon and I was wondering if there was a way to set up a way to change the size of a part of my world based on the distance to a player? for example, if someone got closer to a chair, that chair got smaller or bigger? On a similar note is that also possible with avatars themselves, to make them smaller or bigger with a trigger?