Skip to content

Service · inherits Instance

KeyboardService

Official docs ↗

Service that maintains keyboard state, TextBox focus, and clipboard access; scripts read keyboard input through UserInputService instead.

About KeyboardService

Exposes no members for use in scripts. KeyboardService maintains per-window keyboard state — which keys are held, TextBox focus and on-screen keyboard geometry, clipboard access, and key-code display strings — that experiences read through UserInputService (for example UserInputService.IsKeyDown and UserInputService.GetKeysPressed).

KeyboardService also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.