# Sniping game

**URL:** <https://forum.kirupa.com/t/sniping-game/262626>\
**Category:** Uncategorized\
**Created:** [June 8, 2008, 3:48am UTC](https://forum.kirupa.com/t/sniping-game/262626 "2008-06-08T03:48:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![awscherb](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@awscherb](https://forum.kirupa.com/u/awscherb)\
**Post date:** [June 8, 2008, 3:48am UTC](https://forum.kirupa.com/t/sniping-game/262626/1 "2008-06-08T03:48:32Z")

</div>

I am making a sniping game, and need to know how to make a guy who is walking across the screen stop walking and fall down when clicked on. Do I need to use a tween? How would I create this?

---

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [June 8, 2008, 9:12am UTC](https://forum.kirupa.com/t/sniping-game/262626/2 "2008-06-08T09:12:24Z")

</div>

you could set up your “guy” movie clip with 2 different frames, frame 1 containing a movie clip that contains the guys walking animation, frame 2 containing his “dying” animation…you would use an guy.onPress() event to trigger the guy movie clip to go from frame 1 to frame 2 using a guy.gotoAndStop(2) ;
