# 3-way collision makes black line appear

**URL:** https://forum.kirupa.com/t/3-way-collision-makes-black-line-appear/33884
**Category:** flash
**Created:** [October 24, 2003, 8:08pm UTC](https://forum.kirupa.com/t/3-way-collision-makes-black-line-appear/33884 "2003-10-24T20:08:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![future\_pilot](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@future\_pilot](https://forum.kirupa.com/u/future_pilot)
#### Post date: [October 24, 2003, 8:08pm UTC](https://forum.kirupa.com/t/3-way-collision-makes-black-line-appear/33884/1 "2003-10-24T20:08:04Z")

</div>

Hello - I have a situation…  
I’m making an info-animation piece, and it involves 3 random moving circles that when all 3 touch eachother, a black line will connect all 3 at their centerpoint, and this black line will disappear when they move away from eachother. Has anyone the code or suggestions for an actionscript like this?  
Any help is greatly, greatly appreciated.  
Cheers,  
future-pilot

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 24, 2003, 8:43pm UTC](https://forum.kirupa.com/t/3-way-collision-makes-black-line-appear/33884/2 "2003-10-24T20:43:58Z")

</div>

Run a search for _node garden_ or something along those lines. 😛

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 24, 2003, 9:15pm UTC](https://forum.kirupa.com/t/3-way-collision-makes-black-line-appear/33884/3 "2003-10-24T21:15:07Z")

</div>

i have some code for the collision detection, i will post, but i have one question first, will all of the circles be the same size?
