Updates the scale transform of the GameObject.
GameObject reference
[x, y] scale of the size of the GameObject
the GameObject reference passed in
update_scale(create_text('Hello world!'), [2, 0.5]); Copy
update_scale(create_text('Hello world!'), [2, 0.5]);
Updates the scale transform of the GameObject.