# Create buttons enable and disable audio

**URL:** <https://talk.atomisystems.com/t/create-buttons-enable-and-disable-audio/5578>\
**Category:** Feature Requests\
**Created:** [September 10, 2021, 12:35am UTC](https://talk.atomisystems.com/t/create-buttons-enable-and-disable-audio/5578 "2021-09-10T00:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![romarttos](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@romarttos](https://talk.atomisystems.com/u/romarttos)\
**Post date:** [September 10, 2021, 12:35am UTC](https://talk.atomisystems.com/t/create-buttons-enable-and-disable-audio/5578/1 "2021-09-10T00:35:14Z")

</div>

Hello friends!

I created 4 buttons and each one runs an audio. However, if the user clicks on more than one button the audios overlap and play at the same time.

I’ve made several attempts to disable the buttons while one is already running but it doesn’t work.

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![Quynh](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/quynh/32/3194_2.png) [@Quynh](https://talk.atomisystems.com/u/Quynh)\
**Post date:** [September 10, 2021, 1:48am UTC](https://talk.atomisystems.com/t/create-buttons-enable-and-disable-audio/5578/2 "2021-09-10T01:48:11Z")

</div>

Hi,

You can add the **On Ended** event for the audio object.  
See this video for details: [How to Use On Ended Event - ActivePresenter 8 - YouTube](https://www.youtube.com/watch?v=QGrjeTWuQng)

Regards,  
Quỳnh
