Phaser API Documentation

  Version: 
getPlayerName()

Description:

Returns the player's localized display name. It is only populated if playerGetName is in the list of supported APIs.

Returns:
Description:

The player's localized display name.

Type:
  • string
Examples:
Since: 3.13.0