On keydown, how to change function property change

[https://playground.babylonjs.com/#016FYM#34][playground link]
This is the second time I post for the same problem. I’m sorry but I need a quick solution to the problem.
I try to create an earthquake game with Babylon js.

I want to change createTank(line 24) function’s some properties on keydown and keyup.

If I am able to change the height and speed in keydown and keyup then it’s enough for my work. But I don’t understand how to change it in the right way. And how to show the changes in every keydown and keyup event.

Any help would be ok.
Thank you, everyone.

Will this work for you? https://playground.babylonjs.com/#016FYM#35

If you’re looking for smooth transitions in scaling, perhaps look into Animations - Babylon.js Documentation