# Bouncing balls

**URL:** <https://forum.kirupa.com/t/bouncing-balls/54586>\
**Category:** Uncategorized\
**Created:** [June 15, 2004, 10:23pm UTC](https://forum.kirupa.com/t/bouncing-balls/54586 "2004-06-15T22:23:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashyjack](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@flashyjack](https://forum.kirupa.com/u/flashyjack)\
**Post date:** [June 15, 2004, 10:23pm UTC](https://forum.kirupa.com/t/bouncing-balls/54586/1 "2004-06-15T22:23:15Z")

</div>

Ok ive got this ball that bounces around the screen. There are a bunch more that are made with the duplicate movie clip command. I want them to bounce off eachother, as well as the walls. The problem is, i cant just put the code on the original ball because then balls want to bounce off themselves which creates problems. So my question is, is there some kind of loop I can use to make it so each duplicate ball will bounce off the others but not itself?
