Hit Points and Healing
If you build a combat game, you will want to keep track of how healthy your character is. Its health (or life) is measured in hit points
You can set the hit points of an object in its settings. You can also tell the object to show its hit points so you get a life bar. When playing the game being shot will reduce hit points but you can program it so maybe eating an apple will heal a certain amount