how to turn sound and music off and on

just wondering how i would turn sound and music on and off, by using a button

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    Touch is pressed change attribute game.Audio.Music.Volume to ( game.Audio.Music Volume +1)%2

    Found in devices/audio

    Darren.
Sign In or Register to comment.