![]() |
![]() |
Interaction > Creating reactions > Play Sound reaction
Play Sound Reaction
This reaction plays a .wav file.
Keep in mind that sound files can be extremely heavy, so you should use .wav files with the following settings: 8-bit, 11 025Hz, Mono.
To add a Play Sound reaction to an object:
- Select the object.
- Choose Interaction > Reactions > Play Sound.
- In the Open dialog, select a .wav file and click OK.
Switch to Browse mode to test the interaction. When you click the object the sound plays.
In the Interaction Editor, notice the Play Sound reaction is linked to a mouse sensor on the object.
Note: The .wav file is copied to the Sound folder in the project directory. If you select a sound file that is already used in the project, you are prompted to overwrite the existing file. Click No to use the existing sound file. Click Yes to update the existing sound file.
To use a Play Sound reaction with any sensor:
- With nothing selected, choose Interaction > Reactions > Play Sound, then select a sound file.
- In the Interaction Editor, link the reaction to a sensor.
To use the same sound in another Play Sound reaction:
- In World Explorer/Resources/Sounds, select a sound.
- Choose Interaction > Reactions > Play Sound.
- In the Interaction Editor, link the reaction to a sensor.
To play the sound over and over again:
In the Interaction Editor, select the Play Sound reaction and turn on Looping in the Parameter Editor.
To turn the sound on and off by clicking:
- In the Interaction Editor, select the trigger (the line that joins the reaction and the sensor).
- In the Parameter Editor, set the Trigger mode to Toggle Start/Stop.
To remove a Play Sound reaction:
In the Interaction Editor, select the reaction and press Delete.
To view the sound waveform:
- In the Sequencer, click the Interaction icon.
- Expand the sensor and trigger that is linked to the Play Sound reaction.
- Double-click the Play Sound reaction .
- To listen to the sound, click the Activate trigger icon, then turn on Play or drag the playhead.
When the Activate trigger icon is green, you can preview sound and animation.
Play Sound Reaction Parameters
![]() |
![]() |