How do I scale a clone object?

Hello everyone. I have a ball (sphere object) in the assets because I don’t want it to be visible the moment I start my game. And it needs to spawn in different position each time I press the button and be scaled by 50 at X,Y and Z. I managed to figure out how to spawn it different places but I cannot figure out how to scale it because transform.localScale does not work here.

This should work.

ballClose.transform.localScale = new Vector3(1,1,1); // x, y, z scale of the clone

Keep in mind I have used localScale, and not lossyScale. I’d recommend searching what the difference is.

float scale=3;//or whatever you want
ballClone.transform.scale=new Vector(scale,scale,scale);