• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Sounds

    Inherits from: Object

    The Sounds class is a collection of audio shaders that can be used to play sounds in the game.

    Properties

    HapticsSlider is a static property that returns the audio shader for the slider haptics.

    -- Play the slider haptics sound
    Sounds.HapticsSlider:Play()
    

    HapticsLight is a static property that returns the audio shader for the light haptics.

    -- Play the light haptics sound
    Sounds.HapticsLight:Play()
    

    NonWalkable is a static property that returns the audio shader for the non-walkable sound.

    -- Play the non-walkable sound
    Sounds.NonWalkable:Play()
    

    Walkable is a static property that returns the audio shader for the walkable sound.

    -- Play the walkable sound
    Sounds.Walkable:Play()
    

    ButtonClick is a static property that returns the audio shader for the button click sound.

    -- Play the button click sound
    Sounds.ButtonClick:Play()
    

    LongPressComplete is a static property that returns the audio shader for the long press complete sound.

    -- Play the long press complete sound
    Sounds.LongPressComplete:Play()
    

    ToggleOn is a static property that returns the audio shader for the toggle on sound.

    -- Play the toggle on sound
    Sounds.ToggleOn:Play()
    

    ToggleOff is a static property that returns the audio shader for the toggle off sound.

    -- Play the toggle off sound
    Sounds.ToggleOff:Play()
    

    Alert is a static property that returns the audio shader for the alert sound.

    -- Play the alert sound
    Sounds.Alert:Play()
    

    Toast is a static property that returns the audio shader for the toast sound.

    -- Play the toast sound
    Sounds.Toast:Play()
    

    Like is a static property that returns the audio shader for the like sound.

    -- Play the like sound
    Sounds.Like:Play()
    

    TradeLocked is a static property that returns the audio shader for the trade locked sound.

    -- Play the trade locked sound
    Sounds.TradeLocked:Play()
    

    PullToRefresh is a static property that returns the audio shader for the pull to refresh sound.

    -- Play the pull to refresh sound
    Sounds.PullToRefresh:Play()
    

    ReadyToRefresh is a static property that returns the audio shader for the ready to refresh sound.

    -- Play the ready to refresh sound
    Sounds.ReadyToRefresh:Play()
    

    JoinRoom is a static property that returns the audio shader for the join room sound.

    -- Play the join room sound
    Sounds.JoinRoom:Play()
    

    GachaSpin1x is a static property that returns the audio shader for the gacha spin 1x sound.

    -- Play the gacha spin 1x sound
    Sounds.GachaSpin1x:Play()
    

    GachaSpin10x is a static property that returns the audio shader for the gacha spin 10x sound.

    -- Play the gacha spin 10x sound
    Sounds.GachaSpin10x:Play()
    

    DrumRoll is a static property that returns the audio shader for the drum roll sound.

    -- Play the drum roll sound
    Sounds.DrumRoll:Play()
    

    Updated 18 days ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.