Contains information related to an entity hitting (melee attacking) another entity.
export class EntityHitEntityAfterEvent { private constructor(); readonly damagingEntity: Entity; readonly hitEntity: Entity;} Copy
export class EntityHitEntityAfterEvent { private constructor(); readonly damagingEntity: Entity; readonly hitEntity: Entity;}
Private
Readonly
Entity that made a hit/melee attack.
This property can't be read in early-execution mode.
Entity that was hit by the attack.
Contains information related to an entity hitting (melee attacking) another entity.
Source