# Button Sequence Game

**URL:** <https://forum.kirupa.com/t/button-sequence-game/229720>\
**Category:** flash\
**Created:** [June 19, 2007, 7:02pm UTC](https://forum.kirupa.com/t/button-sequence-game/229720 "2007-06-19T19:02:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![captainghost](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@captainghost](https://forum.kirupa.com/u/captainghost)\
**Post date:** [June 19, 2007, 7:02pm UTC](https://forum.kirupa.com/t/button-sequence-game/229720/1 "2007-06-19T19:02:49Z")

</div>

Ive made a game where I want the user to push 4 buttons in a correct sequence in order to move on…Ive made everything so far except I dont know how to code it so the buttons will work like this…

I have 4 buttons…

btnA

btnB

btnC

btnD

What code would I use so the user has to press btnB, btnC, btnD, and btnA in the that order to move on?

Thanks in advance
