TilemapLayer#health

health : number

The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.

It can be used in combination with the damage method or modified directly.

Inherited From
Default Value
  • 1
Source code: gameobjects/components/Health.js (Line 26)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.