Grow Sprite image size from Edges instead of Center.

I am working on 2D game, in which I have multiples sprite Images and I want to increase the Height of Sprite Image on runtime and I can increase its size but its increasing from center so its also change its origin. I am doing like this “transform.localscale”. Is this possible that I can just increase its height instead of increasing from center?

If you select the texture you are using in your sprite, you sill see a ‘Pivot’ setting. Change this setting ‘Center’ to ‘Bottom’.