I want to change the size of a sprite based on values entered in a text box. Is this possible?
Thanks.
Develop games in your browser. Powerful, performant & highly capable.
Can't seem to affect the properties of one object based on the value of another. I can move to the position of another. Anyone done this?
Yes ofcours.
Just know that the content of a texbox is a string. And size expects numbers.
Set width/height to int(TextBox.text). int() translates string to number.