Hi all :) I am trying to calculate the width of a text box so I can animate a second text box next to the first one, leaving enough space for what ever content is put in the first. How should I go about doing this?
this is what I have so far but its not working. The text just disappears with no errors in the console:
text2.x = text1.textWidth + 500;
text2.x = text1.width + 500;
Thank you!
Is there a way to add this with y position in one line? Thanks!
text1b.position.set((text1a.width + 520), 0)
never mind :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
text2.x = text1.width + 500;