Home
The HyperCard Center
HyperTalk Reference

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

sound

the sound

Value returned: a text string equal to the name of the sound resource currently playing (such as "boing") or the string "done" if no sound is currently playing.

You use the sound function to synchronize sounds with other actions, because scripts continue to run while sounds are playing.

Examples

if the sound is not done then ...
wait until the sound is done

Related Topics

HyperTalk Reference

Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Retro View