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

    Interface PlayerBreakingBlockEventOptionsBeta

    An interface that is passed into PlayerStartBreakingBlockAfterEventSignal.subscribe that filters out which events are passed to the provided callback.

    interface PlayerBreakingBlockEventOptions {
        blockFilter?: BlockFilter;
        playerFilter?: EntityFilter;
    }
    Index

    Properties

    blockFilter?: BlockFilter

    The BlockFilter that the callback should be called for. If undefined, the callback will be called for all blocks.

    playerFilter?: EntityFilter

    The EntityFilter that the callback should be called for. If undefined, the callback will be called for all players.