@minecraft/server
    Preparing search index...

    Interface WorldSoundOptionsBeta

    Contains additional options for a playSound occurrence.

    interface WorldSoundOptions {
        pitch?: number;
        volume?: number;
    }
    Index

    Properties

    Properties

    pitch?: number

    Pitch of the sound played.

    volume?: number

    Relative volume and space by which this sound is heard.