Scale $1 in java script

tsiwt's icon

Hello, Iam trying to understand javascript.

does anyone know how to add a scale $1 message inside javascript that has its own inlet so that I can feed it a number or another scale message and make my jit.gl.mesh(inside javascript) shape grow in size.

so it is more clear here is an example of the max numbers I would like to pass to a javascript.

Max Patch
Copy patch and select New From Clipboard in Max.