Class
KeyboardService
NotCreatableService
Service that maintains keyboard state, TextBox focus, and clipboard
access; scripts read keyboard input through UserInputService instead.
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()).
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild