# Using hitTestObject - Array

**URL:** <https://forum.kirupa.com/t/using-hittestobject-array/331134>\
**Category:** flash\
**Created:** [May 25, 2013, 12:48am UTC](https://forum.kirupa.com/t/using-hittestobject-array/331134 "2013-05-25T00:48:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wortic](https://avatars.discourse-cdn.com/v4/letter/w/91b2a8/32.png) [@wortic](https://forum.kirupa.com/u/wortic)\
**Post date:** [May 25, 2013, 12:48am UTC](https://forum.kirupa.com/t/using-hittestobject-array/331134/1 "2013-05-25T00:48:45Z")

</div>

Hi,  
var o:Object  
for (f=0; f\<50; f++)  
o = myArray[f]  
I’m trying to see if one of the objects in the array touches another one.  
o.hitTestObject(o) doesn’t work properly. Returns true all time.  
To be clear; I’m trying to check if a particular one touches the others. For example if myArray[2] touches any other 49 of them.
