Phaser API Documentation

  Version: 
Filter
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Namespace: KeyCodes
Phaser.Input.Keyboard.KeyCodes

Members

<static> A: number
Focus
Focus

Description:

The A key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> ALT: number
Focus
Focus

Description:

The ALT key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> B: number
Focus
Focus

Description:

The B key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> BACKSPACE: number
Focus
Focus

Description:

The BACKSPACE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> BACKTICK: number
Focus
Focus

Description:

The BACKTICK key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> BACK_SLASH: number
Focus
Focus

Description:

The BACK_SLASH key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> BRACKET_LEFT_FIREFOX: number
Focus
Focus

Description:

The BRACKET_LEFT_FIREFOX key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> BRACKET_RIGHT_FIREFOX: number
Focus
Focus

Description:

The BRACKET_RIGHT_FIREFOX key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> C: number
Focus
Focus

Description:

The C key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> CAPS_LOCK: number
Focus
Focus

Description:

The CAPS_LOCK key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> CLOSED_BRACKET: number
Focus
Focus

Description:

The CLOSED_BRACKET key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> COLON: number
Focus
Focus

Description:

The COLON key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> COMMA: number
Focus
Focus

Description:

The COMMA key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> COMMA_FIREFOX: number
Focus
Focus

Description:

The COMMA_FIREFOX key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> COMMA_FIREFOX_WINDOWS: number
Focus
Focus

Description:

The COMMA_FIREFOX_WINDOWS key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> CTRL: number
Focus
Focus

Description:

The CTRL key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> D: number
Focus
Focus

Description:

The D key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> DELETE: number
Focus
Focus

Description:

The DELETE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> DOWN: number
Focus
Focus

Description:

The DOWN key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> E: number
Focus
Focus

Description:

The E key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> EIGHT: number
Focus
Focus

Description:

The EIGHT key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> END: number
Focus
Focus

Description:

The END key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> ENTER: number
Focus
Focus

Description:

The ENTER key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> ESC: number
Focus
Focus

Description:

The ESC key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F: number
Focus
Focus

Description:

The F key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F1: number
Focus
Focus

Description:

The F1 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F10: number
Focus
Focus

Description:

The F10 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F11: number
Focus
Focus

Description:

The F11 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F12: number
Focus
Focus

Description:

The F12 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F2: number
Focus
Focus

Description:

The F2 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F3: number
Focus
Focus

Description:

The F3 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F4: number
Focus
Focus

Description:

The F4 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F5: number
Focus
Focus

Description:

The F5 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F6: number
Focus
Focus

Description:

The F6 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F7: number
Focus
Focus

Description:

The F7 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F8: number
Focus
Focus

Description:

The F8 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> F9: number
Focus
Focus

Description:

The F9 key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> FIVE: number
Focus
Focus

Description:

The FIVE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> FORWARD_SLASH: number
Focus
Focus

Description:

The FORWARD_SLASH key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> FOUR: number
Focus
Focus

Description:

The FOUR key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> G: number
Focus
Focus

Description:

The G key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> H: number
Focus
Focus

Description:

The H key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> HOME: number
Focus
Focus

Description:

The HOME key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> I: number
Focus
Focus

Description:

The I key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> INSERT: number
Focus
Focus

Description:

The INSERT key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> J: number
Focus
Focus

Description:

The J key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> K: number
Focus
Focus

Description:

The K key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> L: number
Focus
Focus

Description:

The L key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> LEFT: number
Focus
Focus

Description:

The LEFT key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> M: number
Focus
Focus

Description:

The M key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> MINUS: number
Focus
Focus

Description:

The MINUS key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> N: number
Focus
Focus

Description:

The N key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NINE: number
Focus
Focus

Description:

The NINE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_ADD: number
Focus
Focus

Description:

The Numpad Addition (+) key.

Type:
number
Since: 3.21.0
Focus
Focus
<static> NUMPAD_EIGHT: number
Focus
Focus

Description:

The NUMPAD_EIGHT key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_FIVE: number
Focus
Focus

Description:

The NUMPAD_FIVE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_FOUR: number
Focus
Focus

Description:

The NUMPAD_FOUR key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_NINE: number
Focus
Focus

Description:

The NUMPAD_NINE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_ONE: number
Focus
Focus

Description:

The NUMPAD_ONE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_SEVEN: number
Focus
Focus

Description:

The NUMPAD_SEVEN key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_SIX: number
Focus
Focus

Description:

The NUMPAD_SIX key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_SUBTRACT: number
Focus
Focus

Description:

The Numpad Subtraction (-) key.

Type:
number
Since: 3.21.0
Focus
Focus
<static> NUMPAD_THREE: number
Focus
Focus

Description:

The NUMPAD_THREE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_TWO: number
Focus
Focus

Description:

The NUMPAD_TWO key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> NUMPAD_ZERO: number
Focus
Focus

Description:

The NUMPAD_ZERO key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> O: number
Focus
Focus

Description:

The O key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> ONE: number
Focus
Focus

Description:

The ONE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> OPEN_BRACKET: number
Focus
Focus

Description:

The OPEN_BRACKET key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> P: number
Focus
Focus

Description:

The P key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> PAGE_DOWN: number
Focus
Focus

Description:

The PAGE_DOWN key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> PAGE_UP: number
Focus
Focus

Description:

The PAGE_UP key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> PAUSE: number
Focus
Focus

Description:

The PAUSE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> PERIOD: number
Focus
Focus

Description:

The PERIOD key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> PLUS: number
Focus
Focus

Description:

The PLUS key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> Q: number
Focus
Focus

Description:

The Q key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> QUOTES: number
Focus
Focus

Description:

The QUOTES key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> R: number
Focus
Focus

Description:

The R key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> S: number
Focus
Focus

Description:

The S key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> SEMICOLON: number
Focus
Focus

Description:

The SEMICOLON key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> SEMICOLON_FIREFOX: number
Focus
Focus

Description:

The SEMICOLON_FIREFOX key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> SEVEN: number
Focus
Focus

Description:

The SEVEN key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> SHIFT: number
Focus
Focus

Description:

The SHIFT key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> SIX: number
Focus
Focus

Description:

The SIX key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> SPACE: number
Focus
Focus

Description:

The SPACE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> T: number
Focus
Focus

Description:

The T key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> TAB: number
Focus
Focus

Description:

The TAB key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> THREE: number
Focus
Focus

Description:

The THREE key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> TWO: number
Focus
Focus

Description:

The TWO key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> U: number
Focus
Focus

Description:

The U key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> UP: number
Focus
Focus

Description:

The UP key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> V: number
Focus
Focus

Description:

The V key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> W: number
Focus
Focus

Description:

The W key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> X: number
Focus
Focus

Description:

The X key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> Y: number
Focus
Focus

Description:

The Y key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> Z: number
Focus
Focus

Description:

The Z key.

Type:
number
Since: 3.0.0
Focus
Focus
<static> ZERO: number
Focus
Focus

Description:

The ZERO key.

Type:
number
Since: 3.0.0
Focus
Focus