I already know how to do this with PC, but what about mobile? When the player finishes typing with the mobile keyboard and tap the Enter button, is there any event fired when doing that?
✓ ANSWER ACCEPTED
Is there any Event fired when the player finished typing in the TextBox?
1 answer
✓ Accepted answer
There's TextBox.FocusLost:Connect(function(EnterPressed,InputObject), which will fire when the user uses any form of input to exit the textbox. EnterPressed will be true when they hit the enter button to exit the textbox, otherwise you'll have to rely on the InputObject which has the InputObject of the Input that canceled the textbox focus.
This discussion is preserved as it was. New answers, comments, and votes are closed.
