I want to determine if a text object is large enough to show all the text it is supposed so if not, I can show an ellipses (...) if not.
Are there any conditions to test for this?
Develop games in your browser. Powerful, performant & highly capable.
perhaps you can use the expression text.textheight and text.textwidth then resize the text object (works also with spritefont object)
Note: the Text object must be drawn before these have the correct values( C2 needs a delay between 0.1 and 0.2 sec)