Phaser API Documentation

  Version: 
up: boolean

Description:

Is the Gamepad's Up button being pressed? If the Gamepad doesn't have this button it will always return false. This is the d-pad up button under standard Gamepad mapping.

Type:
boolean
Since: 3.10.0