I want to create copies of the same object with random sizes, but I don't want their proportions to be distorted.
I tried;
*set height*
35 + (random 20)
*set width*
40 + (random 20)
35 and 40 are the original dimensions. The problem is that unless both random numbers are the same the image either looks squished or stretched.
Is there a way to generate a random number and then add/subtract that number to another value?
(could it be done with global or private variables? that's the only way I imagine it would work but I'm not entirely sure how to do it in this case...)
-thanks!