# Perspective - touchscreen - how many touches

**URL:** <https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 26, 2024, 5:24pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410 "2024-06-26T17:24:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [June 26, 2024, 5:24pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410/1 "2024-06-26T17:24:21Z")

</div>

I'm on 8.1.41

Is there a way to get the number of touched points on the screen for a click event?

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [June 26, 2024, 6:20pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410/2 "2024-06-26T18:20:14Z")

</div>

The `onClick` event should give you a list of parameters/properties that are available. It think there's one called "clickCount" - at least there is in Vision.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [June 26, 2024, 6:24pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410/3 "2024-06-26T18:24:05Z")

</div>

Not available in Perspective

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 26, 2024, 6:35pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410/4 "2024-06-26T18:35:51Z")

</div>

What is the reason/use case? Perhaps this is an XP problem and there is a better solution than what you might think.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [June 26, 2024, 6:37pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410/5 "2024-06-26T18:37:58Z")

</div>

I want to implement different action according to number of touches

First case, want to navigate in new tab when 2 touches else in same tab

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 26, 2024, 8:18pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410/6 "2024-06-26T20:18:37Z")

</div>

I really don't have much to offer, but I will say your implementation seems weird and unintuitive to me, just my opinion of course.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [June 26, 2024, 9:44pm UTC](https://forum.inductiveautomation.com/t/perspective-touchscreen-how-many-touches/92410/7 "2024-06-26T21:44:06Z")

</div>

Maybe make a template with 2 buttons with distinct icons. @luc.martin is correct that it's fairly unintuitive
