# Global play and pause button?

**URL:** <https://forum.kirupa.com/t/global-play-and-pause-button/183605>\
**Category:** Uncategorized\
**Created:** [March 28, 2006, 7:24pm UTC](https://forum.kirupa.com/t/global-play-and-pause-button/183605 "2006-03-28T19:24:49Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 4, 2006, 8:42pm UTC](https://forum.kirupa.com/t/global-play-and-pause-button/183605/21 "2006-04-04T20:42:28Z")

</div>

Well then I’d say your best bet is to put everything into an array (except the two buttons) and then on release of the pause button use a for loop to cycle through the array and disable everything (set enabled to false). Then set enable to true on release of the play button.

---

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [April 4, 2006, 8:59pm UTC](https://forum.kirupa.com/t/global-play-and-pause-button/183605/22 "2006-04-04T20:59:24Z")

</div>

that make senses, thank you Lunatic for being so patient in helping me. :cap:

[Previous page](https://forum.kirupa.com/t/global-play-and-pause-button/183605.md?page=1)
