Is it possible to get the width or height of a string in Label/RichTextLabel

XascoriaXascoria Posts: 14Member

I'm trying to highlight one letter at a time in a string in a typing game.


I figure I can draw a semi-transparent square right in front of a letter, however, I have no idea how to get the position of a letter, one very crude solution I can think of is to simply make an offscreen textlabel and slowly append the letters, then use its width and height to locate the new letter, however its an incredibly ugly solution as you can tell.

So, anyway that I can do this other ways?

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file