How would I make a TextBox follow the text when it gets too long?

So I was wondering how or if I could make an editable text box follow the text itself when it gets too long?

Usually when you type in a textbox and the text goes past the end of the gui, it simply wont show up on the screen.

How would I make the player able to see the new text they are writing?

The easiest way to achieve this is by setting the TextBox’s TextXAlignment to TextXAlignment.Left, and increasing its Size dynamically as the player types.

if this works add solution pls.

example:

local textBox = script.Parent

textBox:GetPropertyChangedSignal(“Text”):Connect(function()
textBox.CursorPosition = #textBox.Text + 1
end)

edit: i’m not sure if you’re asking for textbox resize or keep the text cursor on screen @caneeeeee’s should work easier
AutomaticSize on X
TextWrapped = false
ClipDescendants = true

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.