Skip to main content

Player::health

This property using for getting or setting player health.

Setter​

  • health value (0 to 100)

Getter​

  • health value

Example​

```js let playerHealth = player.health player.health = 100 ```

See Also​