player.health

Description

Used to obtain or change a player's health.

Syntax

health: number;

Example Usage

const currentHealth = player.health;
player.health = 199; // Set to full health.
player.health = 99; // Kill the player.

results matching ""

    No results matching ""