so I want to have so ` opens up my custom inventory just like the default one, but I can’t find the Enum.KeyCode for it. It’s that quotation mark thingy right under Esc on your keyboard. What’s it called?
3 Likes
That is the backtick
123123123123123
2 Likes
The key is called a back quote key.
You can access it like so:
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)
if input.UserInputType == Enum.UserInputType.Keyboard then
print(input.KeyCode)
end
end)
1 Like
roblox calls it the backquote but anyway thanks it worked!
1 Like
Tip: you can also just search up the meaning in your web browser, like “what does the ` key mean”
3 Likes
In the future so you don’t need to make a post, reference this: KeyCode | Documentation - Roblox Creator Hub
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.