Sampling Object Shape Parameter

Hi,

I am running a simulation where I have to vary the radius of some circular objects I am generating. I tried to do it like the following but it won’t work:

class Agent:
radius: Uniform(0.3, 0.5)
shape: CylinderShape((radius, radius, 1))

I understand it won’t work because radius here is not a number. But is there a convenient way to do this? I recall this was talked about somewhere in the Scenic workshop videos, but I couldn’t find it. Thanks a lot!