Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Text deletes after being clicked. How do I make it not do this?

Asked by 4 years ago

Everytime I type something in a textbox and then click it deletes the previous text that was left instead of making it so I could edit it. Is there a property that I didn't find in there?

https://imgflip.com/gif/3x551t -- Heres a gif of me trying to do it. I know bad quality and watermarks but I'm sure you can get the point.

1 answer

Log in to vote
0
Answered by
qVoided 221 Moderation Voter
4 years ago

Uncheck ClearTextOnFocus. If you can't find it do:

local textBox = script.Parent
textBox.ClearTextOnFocus = false

Hope this helps!

0
Thank you! Looks like im just blind and couldn't see that. Prxticles 13 — 4y
0
No problem! qVoided 221 — 4y
Ad

Answer this question