Quicksave Logo

Sound Effects

Sound Effects allow you to associate audio clips with Events. You can attach one or more audio clips to an Element, and use Events to play the audio when the Event is triggered.

Sound Properties

PropertyTypeDescription
StatestringThe name of the Sound. This is used to access the Sound from Events.
FilestringPath to your audio asset. The audio path can be manually entered, or selected using the File Picker icon.
DelaynumberSeconds to wait before playing the clip
VolumenumberPlayback volume (0 = mute … 1 = full)

Adding a Sound Effects

text

  1. Select an Element in the Hierarchy panel
  2. Scroll down to the Sounds section
  3. Click the button to add a Sound.
  4. Enter a Name that matches the state or event (e.g. start-press, menu-open)
  5. Choose your .wav or .mp3 file
  6. Optionally set Delay (seconds) and Volume (0–1)

Example Use: Playing a Sound on Button Press

Use our Button - Pop! template to follow along. This will be our button base, which will play a sound when clicked.

  1. Select the unnamed_button_pop Element from the Hierarchy.
  2. In the Element's Sound section, add a Sound with the following properties:
    • Name: click-sound
    • File: Any .wav file.
    • Delay: 0
    • Volume: 1
  3. In the Settings Panel, under Events, select the Event named button-clicked.
  4. Add a State to the Event.
  5. Click the State field, and select the click-sound Sound state.

Now Toggle Play Mode from the Debug menu or by pressing the F6 key, and perform the action that you added (click, hover, etc). The Event assigned to the Trigger should fire!