# \[IGN-3555\]Is Touches exposed in onTouchStart Event?

**URL:** <https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 8, 2024, 10:50am UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910 "2024-01-08T10:50:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![liam1](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@liam1](https://forum.inductiveautomation.com/u/liam1)\
**Post date:** [January 8, 2024, 10:50am UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/1 "2024-01-08T10:50:54Z")

</div>

I am trying to implement touch pan and zoom in ignition perspective without using webdev and iframes.

I need access to the touches list as specified in [Web API](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches) documentation.

Does perspective expose this property in the event object?

If so where can I find it?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 8, 2024, 3:38pm UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/2 "2024-01-08T15:38:08Z")

</div>

No, there's a longstanding issue that the JS object sent back to the backend (where your script actually runs) gets "sanitized" in certain ways, which ends up stripping off this and other more complex properties.

No timeline on a change to that behavior, unfortunately.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 8, 2024, 10:53pm UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/3 "2024-01-08T22:53:47Z")

</div>

See this ideas post for more info:

> **[Swiping/gestures in Perspective | Ignition Features and Ideas | Inductive...](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/swipinggestures-in-perspective)**
>
> Can the touches property be added to touch events to allow us to implement swipe actions/ gestures in our applications original forum post: https://forum.

I just bumped the internal ticket a bit in priority in light of the customer interest.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [January 8, 2024, 11:03pm UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/4 "2024-01-08T23:03:59Z")

</div>

> [@Pan Zoom Container](https://forum.inductiveautomation.com/t/pan-zoom-container/75093):
>
> BIJC is pleased to announce its latest module, a Pan Zoom container for Perspective. There have been a number of outstanding examples of Pan Zoom using an XY container but these are very specific and generally require advanced scripting and CSS skills. BIJC container simplifies this process and allows the XY container to be responsive. In its simplest deployment, a developed XY container can be placed inside BIJCs Pan Zoom container and it will automatically fit to any screen size. If the deve…

@Chris_Taylor  
@jonathan.taylor

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [January 8, 2024, 11:10pm UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/5 "2024-01-08T23:10:53Z")

</div>

Note I haven't yet played with this module, not sure if it helps

---

<div class="post-metadata">

**Author:** ![liam1](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@liam1](https://forum.inductiveautomation.com/u/liam1)\
**Post date:** [January 9, 2024, 11:46am UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/6 "2024-01-09T11:46:17Z")

</div>

I've seen this module but I don't see the point in paying for this kind of functionality as I can implement this natively in ignition. It's just a case of the ignition development needing some time to expose these parameters to scripting.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [January 9, 2024, 11:52am UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/7 "2024-01-09T11:52:56Z")

</div>

> [@paul-griffith](#):
>
> No timeline on a change to that behavior, unfortunately.

Just putting an option on the table if you want to consider an option "now" as opposed to waiting for "no timeline"

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 9, 2024, 12:56pm UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/8 "2024-01-09T12:56:58Z")

</div>

> [@liam1](#):
>
> as I can implement this natively in ignition

I've not seen any native replication of the BIJC module's full functionality. Just bits and pieces. You should give it a trial before you bash it.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 9, 2024, 3:53pm UTC](https://forum.inductiveautomation.com/t/ign-3555-is-touches-exposed-in-ontouchstart-event/83910/9 "2024-01-09T15:53:06Z")

</div>

We're anticipating a first party "pan and zoom" container, in the 8.3 timeline. Absolute earliest release Q4.

We're also only fixing major bugs in 8.1 at this point in time. The absence of the touches property is not critical. Absolute earliest release of a fix then falls into some 8.3 release... Absolute earliest of which is Q4.
