ProjectileHit
Fires when a launched projectile hits something (such as a block or entity)
Example usage:
Parameters
shooter: Entity | nil
The entity that launched the projectile (may not exist).
projectileType: ProjectileType
The type of projectile that hit.
position: Vector3
The position that the projectile hit.
hitEntity: Entity | nil
The entity that was hit by the projectile (may not exist).
cancelled: bool [modifiable]
If set to true, the projectile hit will be cancelled.
Last updated