# Feature request: buttonA events to include absolute X and Y coordinates of touch.

**URL:** <https://forums.solar2d.com/t/feature-request-buttona-events-to-include-absolute-x-and-y-coordinates-of-touch/340078>\
**Category:** Apple TV and tvOS\
**Created:** [July 1, 2016, 7:04am UTC](https://forums.solar2d.com/t/feature-request-buttona-events-to-include-absolute-x-and-y-coordinates-of-touch/340078 "2016-07-01T07:04:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakoonic](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/r/a6a055/32.png) [@rakoonic](https://forums.solar2d.com/u/rakoonic)\
**Post date:** [July 1, 2016, 7:04am UTC](https://forums.solar2d.com/t/feature-request-buttona-events-to-include-absolute-x-and-y-coordinates-of-touch/340078/1 "2016-07-01T07:04:37Z")

</div>

Apple apps do very occasionally use this (I recall 1 example off the top of my head, fast forwarding and rewinding by clicking left and right edges of the remote), and it would be a very useful feature in certain circumstances.

---

<div class="post-metadata">

**Author:** ![torbenratzlaff](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/c2a13f/32.png) [@torbenratzlaff](https://forums.solar2d.com/u/torbenratzlaff)\
**Post date:** [July 1, 2016, 8:44am UTC](https://forums.solar2d.com/t/feature-request-buttona-events-to-include-absolute-x-and-y-coordinates-of-touch/340078/2 "2016-07-01T08:44:22Z")

</div>

Just use “event.target:localToContent()” to retrieve the world coordinates of the touch event.

---

<div class="post-metadata">

**Author:** ![rakoonic](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/r/a6a055/32.png) [@rakoonic](https://forums.solar2d.com/u/rakoonic)\
**Post date:** [July 1, 2016, 3:39pm UTC](https://forums.solar2d.com/t/feature-request-buttona-events-to-include-absolute-x-and-y-coordinates-of-touch/340078/3 "2016-07-01T15:39:08Z")

</div>

Thanks, but I’m referring to the Apple TV controller - there’s no such concept of targets in this sense. buttonA is when you hard-press (click) the trackpad on the remote control.

---

<div class="post-metadata">

**Author:** ![torbenratzlaff](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/c2a13f/32.png) [@torbenratzlaff](https://forums.solar2d.com/u/torbenratzlaff)\
**Post date:** [July 1, 2016, 8:44am UTC](https://forums.solar2d.com/t/feature-request-buttona-events-to-include-absolute-x-and-y-coordinates-of-touch/340078/4 "2016-07-01T08:44:22Z")

</div>

Just use “event.target:localToContent()” to retrieve the world coordinates of the touch event.

---

<div class="post-metadata">

**Author:** ![rakoonic](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/r/a6a055/32.png) [@rakoonic](https://forums.solar2d.com/u/rakoonic)\
**Post date:** [July 1, 2016, 3:39pm UTC](https://forums.solar2d.com/t/feature-request-buttona-events-to-include-absolute-x-and-y-coordinates-of-touch/340078/5 "2016-07-01T15:39:08Z")

</div>

Thanks, but I’m referring to the Apple TV controller - there’s no such concept of targets in this sense. buttonA is when you hard-press (click) the trackpad on the remote control.
