player.name

Description

Get the player's current name. It cannot be changed. This is the name that the player defines.

Syntax

readonly name: string;

Real World Example

const currentName = player.name;

results matching ""

    No results matching ""