# Flash as2 RPG Game Help. Picking up weapon

**URL:** <https://forum.kirupa.com/t/flash-as2-rpg-game-help-picking-up-weapon/331253>\
**Category:** flash\
**Created:** [June 21, 2013, 4:58pm UTC](https://forum.kirupa.com/t/flash-as2-rpg-game-help-picking-up-weapon/331253 "2013-06-21T16:58:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Scholz](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Post date:** [June 21, 2013, 4:58pm UTC](https://forum.kirupa.com/t/flash-as2-rpg-game-help-picking-up-weapon/331253/1 "2013-06-21T16:58:02Z")

</div>

When my char picks up a weapon, how do I attach the weapon\_mc to the char? Since I can get the weapon\_mc to attach to the char starting position, but since the char has animation using the up, down, left, right keys, the weapon\_mc will not follow the position of the animation. Does this make sense? Trying to explain the best I can.

Example: Moving Right - when the right key is pressed, char will move right. There are 5 frames that make up the walk cycle moving right. When I pickup a weapon(weapon\_mc), I can only get the weapon\_mc to attach to frame 1 of the walk cycle. How do I keep the weapon in the same spot while he is walking right?
