# Rpg pick/up help

**URL:** <https://forum.kirupa.com/t/rpg-pick-up-help/194407>\
**Category:** Uncategorized\
**Created:** [July 23, 2006, 1:41am UTC](https://forum.kirupa.com/t/rpg-pick-up-help/194407 "2006-07-23T01:41:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stilianos](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Stilianos](https://forum.kirupa.com/u/Stilianos)\
**Post date:** [July 23, 2006, 1:41am UTC](https://forum.kirupa.com/t/rpg-pick-up-help/194407/1 "2006-07-23T01:41:43Z")

</div>

Hi am making an rpg.  
I have the engine the boundarys and all.  
The on thing i need is to pick up things so it a pears like there an a movie clip.

Here is my code it just makes the item go far away.

```auto

onClipEvent(enterFrame){
    if(this.hitTest(_root.man)){
        this._x = _root.man.manB.handR._x;
 this._y = _root.man.manB.handR._y;
    this._rotation=_root.man.manB.handR._rotation;    
    }
    else(visible=true);
}

```

thanx in advance;)
