- Open the Editor.
- Get a background image for the wallpaper which you will import first.
- Get a second image you want to click, for example this:
The project name and scheme color will be automatically set, you can change them if you like. Press OK to import the image and create the wallpaper.
A new wallpaper will be created and the image should become visible.
With the sound selected, set it to a name that is easy to remember and unique. Also set the sound mode to Single and activate the Start silent option at the bottom. This will keep the sound quiet and only play it once when activated.
Replace the entire script with the Click to Play Sound example snippet.
Now make sure to replace the name of the sound that the script refers to. In the example above, the name of the sound layer was coin.
Click OK and start the script preview at the top. Now you will be able to click the image you bound the script to and hear the sound effect.
Video with sound: https://streamable.com/98igh