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;

Example Usage

const currentName = player.name;

results matching ""

    No results matching ""