Phaser API Documentation

  Version: 
B: boolean

Description:

Is the Gamepad's right button in the right button cluster being pressed? If the Gamepad doesn't have this button it will always return false. On a Dual Shock controller it's the Circle button. On an XBox controller it's the B button.

Type:
boolean
Since: 3.10.0