# Checking to see if one instance of class hits other instances of the same class?

**URL:** <https://forum.kirupa.com/t/checking-to-see-if-one-instance-of-class-hits-other-instances-of-the-same-class/210886>\
**Category:** flash\
**Created:** [December 23, 2006, 9:52am UTC](https://forum.kirupa.com/t/checking-to-see-if-one-instance-of-class-hits-other-instances-of-the-same-class/210886 "2006-12-23T09:52:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidOrtiz](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Post date:** [December 23, 2006, 9:52am UTC](https://forum.kirupa.com/t/checking-to-see-if-one-instance-of-class-hits-other-instances-of-the-same-class/210886/1 "2006-12-23T09:52:13Z")

</div>

Hi guys, the idea is similar to [Yugop.com](http://Yugop.com) JAMPACK 01.

Let’s say i have a bunch of balls/cells. I’m having trouble figuring out how to make it so that every other ball bounces off of every other ball.

so in short, it’s really one instance being able to check all other instances of the same ball class?

any ideas guys and if you dont know what im talking about, please feel free to state that also.
