I want to change the size of a sprite based on values entered in a text box. Is this possible?
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?
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.