Is there Enum.KeyCode for Enter?

Hello there,
So basically I’m making a CMD Prompt Like Thingy and not sure if there’s a KeyCode for Enter.
I mean it isn’t signed as Enum.KeyCode.Enter so I’m not exactly sure if there is one like that, if there is one, I would just like to know the name of it :>

Enum.KeyCode.Return ?

gosh thank you so much you literally saved me

1 Like

If your making a command prompt like thing its better to do:

local textbox = -- path to textbox
textbox.FocusLost:Connect(function(enterpressed)
    if enterpressed then
        -- do something.
    end
end)

Yeah that will work better, thanks

No worries.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.