# Intersection Two Objects

**URL:** <https://discourse.processing.org/t/intersection-two-objects/19523>\
**Category:** Coding Questions\
**Created:** [April 8, 2020, 4:05am UTC](https://discourse.processing.org/t/intersection-two-objects/19523 "2020-04-08T04:05:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbietot](https://avatars.discourse-cdn.com/v4/letter/n/a9a28c/32.png) [@newbietot](https://discourse.processing.org/u/newbietot)\
**Post date:** [April 8, 2020, 4:05am UTC](https://discourse.processing.org/t/intersection-two-objects/19523/1 "2020-04-08T04:05:10Z")

</div>

How to create a line between two objects if the Car1 intersect same Yaxis of Car2

 ![Screenshot_20200408_100342](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/9/9ef8634018200fa93cc7a90ab649c2b11aa65433.jpeg)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [April 8, 2020, 1:01pm UTC](https://discourse.processing.org/t/intersection-two-objects/19523/2 "2020-04-08T13:01:54Z")

</div>

> [@How to line between to objects when interacting same distance?](https://discourse.processing.org/t/how-to-line-between-to-objects-when-interacting-same-distance/19518):
>
