# touch point coordinates

**URL:** <https://forums.solar2d.com/t/touch-point-coordinates/354774>\
**Category:** Physics\
**Created:** [June 4, 2022, 1:43am UTC](https://forums.solar2d.com/t/touch-point-coordinates/354774 "2022-06-04T01:43:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaaaaaach](https://forums.solar2d.com/user_avatar/forums.solar2d.com/chaaaaaach/32/2557_2.png) [@chaaaaaach](https://forums.solar2d.com/u/chaaaaaach)\
**Post date:** [June 4, 2022, 1:43am UTC](https://forums.solar2d.com/t/touch-point-coordinates/354774/1 "2022-06-04T01:43:07Z")

</div>

is it possible to get the touch coordinate of two bodies?

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [June 4, 2022, 7:07pm UTC](https://forums.solar2d.com/t/touch-point-coordinates/354774/2 "2022-06-04T19:07:34Z")

</div>

I assume you mean collide (not touch; touch implies user input via screen touches).

I think your question is, given two bodies A and B that have collided, can you determine the world coordinates where that collision occurred?

Anyways, I believe the answer is, “Yes”.

1. Go the API docs page. [Solar2D Documentation — API Reference](https://docs.coronalabs.com/api/)
2. Use your browser’s search function and search for **collision**.
3. You will find a ‘collision’ entry under the events column. [Solar2D Documentation — API Reference | Events | collision](https://docs.coronalabs.com/api/event/collision/index.html)
4. On this page you’ll see mention of event.x and event.y. Click either and you’ll go this page with an example listener: [Solar2D Documentation — API Reference | Events | collision | x](https://docs.coronalabs.com/api/event/collision/x.html)

---

<div class="post-metadata">

**Author:** ![system](https://forums.solar2d.com/uploads/default/original/1X/1bf6a947166df24e92aaa3358558f4b82d7f3d5a.png) [@system](https://forums.solar2d.com/u/system)\
**Post date:** [December 1, 2022, 7:07pm UTC](https://forums.solar2d.com/t/touch-point-coordinates/354774/3 "2022-12-01T19:07:41Z")

</div>

Closed on December 1, 2022, 7:07pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
