EntityHealthChangedAfterEvent Class
Contains information related to an entity when its health changes. Warning: don't change the health of an entity in this event, or it will cause an infinite loop!
Properties
entity
read-only entity: Entity;
Entity whose health changed.
Type: Entity
newValue
read-only newValue: number;
New health value of the entity.
Type: number
oldValue
read-only oldValue: number;
Old health value of the entity.
Type: number
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for