# Ensuring distinct touches

**URL:** <https://mworks.discourse.group/t/ensuring-distinct-touches/73>\
**Category:** Support\
**Created:** [March 21, 2022, 5:41pm UTC](https://mworks.discourse.group/t/ensuring-distinct-touches/73 "2022-03-21T17:41:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 21, 2022, 5:41pm UTC](https://mworks.discourse.group/t/ensuring-distinct-touches/73/1 "2022-03-21T17:41:40Z")

</div>

Hi Chris,

I am trying to ensure that the monkey releases his touch from the entire ipad monitor in between touching a starting point and touching the target image.  
Currently, the animals show a tendency to just swish their hand across the screen without releasing, which can lead to persevering behaviors (ie if the monkey prefers swishing right over left). It is not clear that making the monkey release for some time will actually help, but it may, and I already tried a few other tricks to overcome persevering behaviors that did nothing and it’s making it impossible to record meaningful data from some animals.

I tried to make the entire window a fixation\_point that gets triggered to monitor this. The issue is that this entire window necessarily surrounds the starting window. You taught me that  
A fixation point updates the variable assigned to trigger\_flag[https://mworks.github.io/documentation/latest/components/fixation\_point\_stimulus.html#trigger-flag](https://mworks.github.io/documentation/latest/components/fixation_point_stimulus.html#trigger-flag) only when the watched position transitions from being inside/outside the fixation window to outside/inside it.  
So I am assuming this is why my monitoring doesn’t get triggered. So either I need a monitor with a start\_point\_sized hole in it (and then I have the issue that I also want to register a release there, but this could be solved with an AND monitoring of that window perhaps) or we need a touch\_point that doesn’t have this trigger property. I don’t know how easy that is to implement on your side, but it would likely be a much more versatile solution.  
The only thing I see I could do myself is making tiles surrounding the fixation point everywhere, but that seems very cumbersome.

Please let me know if you understand what my problem is, agree with how it comes about or if you have other ideas and what you think could be done (when) to fix it.

Thanks a lot

Alina

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 21, 2022, 5:56pm UTC](https://mworks.discourse.group/t/ensuring-distinct-touches/73/2 "2022-03-21T17:56:32Z")

</div>

Hi Alina,

I think you’ve explained the issue correctly.

Could you just wait for [touch\_in\_progress](https://mworks.github.io/documentation/latest/components/touch_input_device.html#touch-in-progress) to become false after the monkey touches the starting point? Then you would know that the monkey removed its hand from the screen before proceeding.

You could also insist that touch\_in\_progress become false while trigger\_flag for the starting window is still true, so that the monkey must release the screen from the starting position. Or you could insist that touch\_in\_progress be false before the touch enters the target window, so that even if the monkey does slide its hand to the target, it would have to release and touch the target again to complete the task.

Do any of those approaches sound like they would work?

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 21, 2022, 6:28pm UTC](https://mworks.discourse.group/t/ensuring-distinct-touches/73/3 "2022-03-21T18:28:23Z")

</div>

Hi,

This sounds very promising, I will play with this and see if it works out.

Thanks!!

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 19, 2022, 6:06pm UTC](https://mworks.discourse.group/t/ensuring-distinct-touches/73/4 "2022-07-19T18:06:53Z")

</div>


