#get coords from where the player is looking?
1 messages · Page 1 of 1 (latest)
player.getBlockFromViewDirection()
There's a bunch of paramaters you can put in that function too here: https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/blockraycastoptions?view=minecraft-bedrock-experimental