# Hittests with Arrays

**URL:** https://forum.kirupa.com/t/hittests-with-arrays/124481
**Category:** Uncategorized
**Created:** [October 4, 2004, 5:31am UTC](https://forum.kirupa.com/t/hittests-with-arrays/124481 "2004-10-04T05:31:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Cass](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@Cass](https://forum.kirupa.com/u/Cass)
#### Post date: [October 4, 2004, 5:31am UTC](https://forum.kirupa.com/t/hittests-with-arrays/124481/1 "2004-10-04T05:31:22Z")

</div>

Is it possible for me to use An array to make a 1 hit test count for more than 1 MC like have

```auto

floor=["MC1", "MC2", "MC3"];
}
if (this.hitTest(_root.floor)){
speed = 0;
}

```

where MC1, MC2, MC3 are diffrent platforms?

i know that code wouldent work but i am just woundering if it is possible.
