# Help me on hitTestObject

**URL:** https://forum.kirupa.com/t/help-me-on-hittestobject/277361
**Category:** flash
**Created:** [December 11, 2008, 5:39am UTC](https://forum.kirupa.com/t/help-me-on-hittestobject/277361 "2008-12-11T05:39:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![laaptu](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@laaptu](https://forum.kirupa.com/u/laaptu)
#### Post date: [December 11, 2008, 5:39am UTC](https://forum.kirupa.com/t/help-me-on-hittestobject/277361/1 "2008-12-11T05:39:13Z")

</div>

Dear users,I have been developing a 3 reel slot machine for game practice.  
And I have constructed a reel which is a movie clip consisting of reel symbols which are also movieclip.  
And I have placed a bar and used tween animation to move the reel.  
I used hitTestObject to find the contact between the bar and the reel like  
if(bar1.hitTestObject(reels)  
{  
trace(“hit”);

}  
Now How can I get the instance name of the symbols that has contacted the bar after the motion tween stop.  
I can use reels.coin to find whether the bar has contacted the coin symbol or not.  
But I want to get the instance name coin if it has hit the bar.  
To implement this what should I do
