Updates the position transform of the GameObject.
GameObject reference
[x, y] coordinates of new position
the GameObject reference passed in
update_position(create_text('Hello world!'), [1, 2]); Copy
update_position(create_text('Hello world!'), [1, 2]);
Updates the position transform of the GameObject.