Play sound on key press

Can I get help on playing a sound then resetting once it’s over, so i can replay the sound

Here is an example
https://playcanvas.com/project/800933/overview/click-sound-test

2 Likes