Button play sound onrelease not onpress

I have several buttons which are supposed to play a sound when pressed.
I am using “tap” event. However the sounds play when the button is released, instead of when being pressed. Any way to modify it? [import]uid: 12463 topic_id: 4454 reply_id: 304454[/import]

try using a touch event instead and using [lua]if event.phase==“began”[/lua]

actually tap might have that phase, i’m not sure
[import]uid: 6645 topic_id: 4454 reply_id: 14073[/import]

Thanks.
One more thing…
I have two buttons which overlaps in part. Each button has to play a different sound. When clicked in the overlapping part, I only want the top button to play the sound. I guess it has something to do with focus or propagation… Any way to program this. [import]uid: 12463 topic_id: 4454 reply_id: 14081[/import]