Well, basically I want him to finish the editing of the textbox with the enter and at the end to put another text defined in the text of the textbutton, but I don’t know how to do it
Use the FocusLost Event to detect whenever a TextBox has been activated via the Enter key, which is 1 of its parameters
TextBox.FocusLost:Connect(function(EnterPressed)
if EnterPressed then --This is a bool, so it'll be true or false
--Do your code here
end
end)
3 Likes