Play Audio
Play Audio plays an audio clip, with a volume and an optional delay. For audio that comes from an object in the environment, see Spatial Audio. A detailed explanation of controls and interface functions is described in the section State Machine Builder User Interface.
Within the edit Simulation section of the HyperSkill Desktop application, navigate to the State Machine tab.
Click on the desired state and, from the dropdown in either the entry or exit actions, select the type Play Audio.
Press the + button to add the action to the action list.

From the
dropdown, select your audio clip.Set the Volume value, between 0 and 1, to change the volume at which the audio clip plays.
Use the Delay field to set a delay, in seconds, before the audio clip plays.
To preview the audio with the selected volume settings, press the Preview Sound
button.
Last updated