# Fighting Game - Key combo

**URL:** https://forum.kirupa.com/t/fighting-game-key-combo/234057
**Category:** programming
**Created:** [July 30, 2007, 6:25am UTC](https://forum.kirupa.com/t/fighting-game-key-combo/234057 "2007-07-30T06:25:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![four4swords](https://avatars.discourse-cdn.com/v4/letter/f/87869e/32.png) [@four4swords](https://forum.kirupa.com/u/four4swords)
#### Post date: [July 30, 2007, 6:25am UTC](https://forum.kirupa.com/t/fighting-game-key-combo/234057/1 "2007-07-30T06:25:35Z")

</div>

hey,

Well… I’m currently making this “street fighter” style game… where you have characters attack and block etc… However… the problem i’ve run into is the “multiple” key detection actionscript…

So far… I can only get those one key presses to work… but i want to do combos… like if i were to press UP+DOWN+Z or something in sequence in a limited amount of time… say… 1 second… and then it’ll execute an animation…

Anyone know how i should do this?

thanks.
