Hi. There is such a problem. Why is the width of the text displayed correctly the first time you click it, but it doesn't change the second time? How can I fix this?
Link to the project: mega.nz/file/DmAXESRA
Apparently, you can solve the problem in this way by simply setting the width of the text manually. Thereby returning it to its standard width. But is this the best way?
Develop games in your browser. Powerful, performant & highly capable.
For TextWidth expression to work, the width of the text object needs to be enough to fit the text. So just set text width to 300 before checking the actual TextWidth.
Thanks for the help