BlockComponentPlayerInteractEvent Class
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Extends
Contains information regarding a specific block being interacted with.
Properties
face
read-only face: Direction;
The block face that was interacted with.
Type: Direction
faceLocation
read-only faceLocation?: Vector3;
Location relative to the bottom north-west corner of the block that the player interacted with.
Type: Vector3
player
read-only player?: Player;
The player that interacted with this block.
Type: Player
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