Byte keycodes that represent the key or button involved in user input.
- Items
- 283
- Uses
- 27
Items283
Legacy names:
Unknown- The
Backspacekey. - The
Tabkey. - Only present on certain keyboards.
- Frequently known as Enter.
- Only present on certain keyboards.
- The
Escapekey. - The
Spacekey. - The
"key. - The
#key. - The
$key. - The
%key. - The
&key. - The
'key. - The
(key. - The
)key. - The
*key. - The
+key. - The
,key. - The
-key. - The
.key. - The
/key. - The
0key. - The
1key. - The
2key. - The
3key. - The
4key. - The
5key. - The
6key. - The
7key. - The
8key. - The
9key. - The
:key. - The
;key. - The
<key. - The
=key. - The
>key. - The
?key. - The
@key. - The
[key. - The
\key. - The
]key. - The
^key. - The
_key. - The
`key. - The
Akey. - The
Bkey. - The
Ckey. - The
Dkey. - The
Ekey. - The
Fkey. - The
Gkey. - The
Hkey. - The
Ikey. - The
Jkey. - The
Kkey. - The
Lkey. - The
Mkey. - The
Nkey. - The
Okey. - The
Pkey. - The
Qkey. - The
Rkey. - The
Skey. - The
Tkey. - The
Ukey. - The
Vkey. - The
Wkey. - The
Xkey. - The
Ykey. - The
Zkey. - The
{key. - The
|key. - The
}key. - The
~key. - The
Delkey. - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - Deprecated:
Deprecated - The
0key on the keypad cluster. - The
1key on the keypad cluster. - The
2key on the keypad cluster. - The
3key on the keypad cluster. - The
4key on the keypad cluster. - The
5key on the keypad cluster. - The
6key on the keypad cluster. - The
7key on the keypad cluster. - The
8key on the keypad cluster. - The
9key on the keypad cluster. - The
.key on the keypad cluster. - The
/key on the keypad cluster. - The
*key on the keypad cluster. - The
-key on the keypad cluster. - The
+key on the keypad cluster. - The
Enterkey on the keypad cluster. - The
=key on the keypad cluster. - The
↑arrow key. - The
↓arrow key. - The
→arrow key. - The
←arrow key. - The
Insertkey. - The
Homekey. - The
Endkey. - The
PgUpkey. - The
PgDownkey. - The
F1key. - The
F2key. - The
F3key. - The
F4key. - The
F5key. - The
F6key. - The
F7key. - The
F8key. - The
F9key. - The
F10key. - The
F11key. - The
F12key. - The
F13key. Only present on certain keyboards. - The
F14key. Only present on certain keyboards. - The
F15key. Only present on certain keyboards. - The
Num Lockkey on the keypad cluster. - The
Caps Lockkey. - The
Scr Lockkey. - The right side
Shiftkey. - The left side
Shiftkey. - The right side
Ctrlkey. - The left side
Ctrlkey. - The right side
Altkey. - The left side
Altkey. - The right side
Metakey. - The left side
Metakey. - The left side
Superkey. Better known as the Windows key or Cmd key. - The right side
Superkey. Better known as the Windows key or Cmd key. - Only present on certain keyboards.
- Only present on certain keyboards.
- Only present on certain keyboards.
- Only present on certain keyboards.
- Only present on certain keyboards.
- Only present on certain keyboards.
- The
Menukey. - Only present on certain keyboards.
- The
€key. Only present on certain keyboards. - Only present on certain keyboards.
- Gamepad
Xbutton. - Gamepad
Ybutton. - Gamepad
Abutton. - Gamepad
Bbutton. - Gamepad
R1button. - Gamepad
L1button. - Gamepad
R2button. - Gamepad
L2button. - Gamepad
R3button. - Gamepad
L3button. - Gamepad
Startbutton. - Gamepad
Selectbutton. - Left arrow on a gamepad D-pad.
- Right arrow on a gamepad D-pad.
- Up arrow on a gamepad D-pad.
- Down arrow on a gamepad D-pad.
- Gamepad primary thumbstick.
- Gamepad secondary thumbstick.
- Up vector on the gamepad primary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- Down vector on the gamepad primary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- Left vector on the gamepad primary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- Right vector on the gamepad primary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- Up vector on the gamepad secondary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- Down vector on the gamepad secondary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- Left vector on the gamepad secondary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- Right vector on the gamepad secondary thumbstick. Primarily used in the Input Action System (opens in a new tab).
- The left mouse button, also commonly referred to as "button 1" on a generic mouse. Primarily used in the Input Action System (opens in a new tab).
- The right mouse button, also commonly referred to as "button 2" on a generic mouse. Primarily used in the Input Action System (opens in a new tab).
- The middle mouse button, also commonly referred to as "button 3" on a generic mouse. Primarily used in the Input Action System (opens in a new tab).
- Deprecated: This enum is deprecated and flagged for removal.
- Deprecated: This enum is deprecated and flagged for removal.
- Deprecated: This enum is deprecated and flagged for removal.
- Deprecated: This enum is deprecated and flagged for removal.
- The position of a mouse in the viewport. Primarily used in the Input Action System (opens in a new tab).
- The position of a touch in the viewport. Primarily used in the Input Action System (opens in a new tab).
Legacy names:
Touch - The scroll delta (change) of a mouse wheel. Primarily used in the Input Action System (opens in a new tab).
- The pan delta (change) from a trackpad two-finger pan gesture. Primarily used in the Input Action System (opens in a new tab).
- The scale delta (change) from a trackpad two-finger pinch gesture. Primarily used in the Input Action System (opens in a new tab).
- The movement delta (change) of the mouse cursor. Primarily used in the Input Action System (opens in a new tab).
- The movement delta (change) of a touch input. Primarily used in the Input Action System (opens in a new tab).
- The scale delta (change) of a two-finger touch pinch gesture. Primarily used in the Input Action System (opens in a new tab).
- TV remote
Centerbutton. - TV remote
Backbutton. - MicroGamepad (including TV remotes)
Updirectional button. - MicroGamepad (including TV remotes)
Downdirectional button. - MicroGamepad (including TV remotes)
Leftdirectional button. - MicroGamepad (including TV remotes)
Rightdirectional button.
Used by properties16
- ChatInputBarConfiguration.KeyboardKeyCode
- DragDetector.GamepadModeSwitchKeyCode
- DragDetector.KeyboardModeSwitchKeyCode
- DragDetector.VRSwitchKeyCode
- InputBinding.Backward
- InputBinding.Down
- InputBinding.Forward
- InputBinding.KeyCode
- InputBinding.Left
- InputBinding.PrimaryModifier
- InputBinding.Right
- InputBinding.SecondaryModifier
- InputBinding.Up
- InputObject.KeyCode
- ProximityPrompt.GamepadKeyCode
- ProximityPrompt.KeyboardKeyCode
Used by parameters11
- ContextActionService:UnbindActivate
- ContextActionService:UnbindCoreActivate
- UserInputService:GamepadSupports
- UserInputService:GetImageForKeyCode
- UserInputService:GetStringForKeyCode
- UserInputService:IsGamepadButtonDown
- UserInputService:IsKeyDown
- VirtualInput:SendKey
- VirtualInputManager:HandleGamepadAxisInput
- VirtualInputManager:HandleGamepadButtonInput
- VirtualInputManager:SendKeyEvent