I want to change the size of a sprite based on values entered in a text box. Is this possible?
Thanks.
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?
Develop games in your browser. Powerful, performant & highly capable.
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.