YoYo Games Wiki

health

From YoYoGames Wiki

Description

(real): the current health of the player

Explanation

The health variable is a global variable that holds the current health of the player. When the variable's value changes from any positive value to non-positive, all objects receive the No more health event.

Content from GMKB, was used to expand this article. The content was contributed by Exploding Diamond Products.