A question about using string.len

I’m attempting to make a textlabel to move by a little to the right (located in the UI) once a new character has been made to another textlabel, and it’ll move to the left once a character has been removed from the textlabel. To examine more in-depth, the target text that should be moved is “moving, they hating”, as I type out the textlabel from a textbox (https://gyazo.com/640c4e876ace35cc9ebe5326881df103). How would I do this?

To elaborate on what I’m attempting to state, I’m trying to use string.len for this purpose (see how “eeeeeeee” moves more to the right once a character has been added): image

1 Like

You can use TextService and :GetTextSize TextService | Documentation - Roblox Creator Hub to put the “eeeeeeee” textlabel’s position to the position of the other label plus the size that is returned by TextService.