Phaser API Documentation

  Version: 
CursorKeys
Properties:
name type description
up Phaser.Input.Keyboard.Key

A Key object mapping to the UP arrow key.

down Phaser.Input.Keyboard.Key

A Key object mapping to the DOWN arrow key.

left Phaser.Input.Keyboard.Key

A Key object mapping to the LEFT arrow key.

right Phaser.Input.Keyboard.Key

A Key object mapping to the RIGHT arrow key.

space Phaser.Input.Keyboard.Key

A Key object mapping to the SPACE BAR key.

shift Phaser.Input.Keyboard.Key

A Key object mapping to the SHIFT key.

Type:
object
Since: 3.0.0