BetaOptional ReadonlyaimThe normalized world-space direction used for the attack. For standard client-initiated transaction attacks, this direction is derived from the client-provided hit position and the player's server-side eye position. Other attack paths can provide a server-derived direction. This property is undefined when the attack path does not provide an aim direction.
This property can't be read in early-execution mode.
This property can't be read in early-execution mode.
Optional ReadonlyitemA snapshot of the item held by the attacking player. This property is undefined when the player holds no item.
This property can't be read in early-execution mode.
ReadonlyplayerThis property can't be read in early-execution mode.
ReadonlytargetThis property can't be read in early-execution mode.
Contains information about an attack initiated through a player item interaction before it causes effects. Set cancel to true to prevent the attack.
Source