Script API - v1.19.70
    Preparing search index...

    Interface BlockHitInformationBeta

    Contains more information for events where a block is hit.

    interface BlockHitInformation {
        block: Block;
        face: Direction;
        faceLocationX: number;
        faceLocationY: number;
    }
    Index

    Properties

    block: Block

    Block that was hit.

    face: Direction

    Face of the block that was hit.

    faceLocationX: number

    X coordinate on the face that was hit.

    faceLocationY: number

    Y coordinate on the face that was hit.