This item is not replicated across Roblox’s server/client boundary.
This property can only be read from. Attempting to write to it will cause an error.
This property describes whether the user’s device has a keyboard available. This property is true when the user’s device has an available keyboard, and false when it does not.
It can be used to determine whether the user has an available keyboard - which can be important if you want to check if you can use
UserInputService/GetKeysPressed to check for keyboard input.
UserInputService is client-side only, this property can only be used in a
Check if Keyboard is Enabled
This example prints “The user’s device has an available keyboard!” if KeyboardEnabled is true and “The user’s device does not have an available keyboard!” if KeyboardEnabled is false.
local UserInputService = game:GetService("UserInputService") if (UserInputService.KeyboardEnabled) then print("The user's device has an available keyboard!") else print("The user's device does not have an available keyboard!") end