# Need help with fighting game

**URL:** https://forum.kirupa.com/t/need-help-with-fighting-game/284670
**Category:** flash
**Created:** [March 22, 2009, 1:14am UTC](https://forum.kirupa.com/t/need-help-with-fighting-game/284670 "2009-03-22T01:14:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ishiaru](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@ishiaru](https://forum.kirupa.com/u/ishiaru)
#### Post date: [March 22, 2009, 1:14am UTC](https://forum.kirupa.com/t/need-help-with-fighting-game/284670/1 "2009-03-22T01:14:31Z")

</div>

[AS2]  
Let’s say I make a guy that is able to punch.  
I give the guy 5 different animations of him punching.  
How do I make it so when I press the punch button, the guy randomly chooses one of those punch animations?

Thanks in advance 🙂
