Phaser API Documentation

  Version: 
Y: boolean

Description:

Is the Gamepad's top 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 Triangle button. On an XBox controller it's the Y button.

Type:
boolean
Since: 3.10.0