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

How would I determine when a player is currently typing in the chat box?

Asked by 6 years ago

Just like in the question, be able to determine when the player has begun typing within the chat box and know when they stopped typing / close the chat

0
With the UserInputService's InputBegan, it comes with a second argument that checks if a player's typing or not. (Arg1 = Key pressed, Arg2 = Typing (use `if not Arg2` b/c that's when they're typing)) TheeDeathCaster 2368 — 6y

1 answer

Log in to vote
0
Answered by
4D_X 118
6 years ago

In the text box, use :IsFocused() to see if a player is typing in the chatbox. http://wiki.roblox.com/index.php?title=API:Class/TextBox is where you will find all the 'focus' items.

Ad

Answer this question