Phaser API Documentation

  Version: 
getButtonTotal()

Description:

Gets the total number of buttons this Gamepad claims to have.

Returns:
Description:

The total number of buttons this Gamepad claims to have.

Type:
  • number
Examples:
Since: 3.10.0