Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to not make the text disappears when you click on a TextBox?

I've seen people doing this in many games, but I don't know how to make my own

2 comments

0

textbox?

0

yes?

1 answer

✓ Accepted answer

Under the textbox properties; there is a thing called ClearTextOnFocus https://developer.roblox.com/api-reference/property/TextBox/ClearTextOnFocus

What it does is; if it's set to true; it will erase every text when you click on the textbox.

All you need to do is set it to false.

2 comments

0

it's a bool value, so you just need to uncheck it.

0

Oh thanks, I didn't know about that property yet

This discussion is preserved as it was. New answers, comments, and votes are closed.