User Guide > Working with behaviors > Working with visual states > Play the sound in response to user interaction


Aside from changing the appearance of an object (which works as visual confirmation of user’s actions) you can also play a sound when the object goes to the Over or the Pressed state.

 

To play the sound in response to user interaction

1. Select this object in the Project Panel or on the Artboard.

2. Click the Over tab () or the Pressed tab() at the top in the Properties section.

 

3. Select the Play sound checkbox () , type the sound filename or select it by using the browse button().