User Guide > Objects > Object Actions > On Mouse Click Actions > Play sound action


 

This action allows you to play the sound when the left mouse button is pressed on an object at run time.

To use this action click a checkbox Play Sound and set a music file name in the Play Sound action dialog.

 

 

Loop: if you want the music to play again and again while the left mouse button is down on the object, enable this option.

 

Play in full: if you want to play the music to the end of a melody even when the left mouse button is up, enable this option.

 

 

Available for: polyline, rectangle, ellipse, text , cool text , image, hotarea.