# Mouse click inaccurate position

**URL:** <https://discourse.psychopy.org/t/mouse-click-inaccurate-position/28261>\
**Category:** Builder\
**Created:** [March 28, 2022, 5:49pm UTC](https://discourse.psychopy.org/t/mouse-click-inaccurate-position/28261 "2022-03-28T17:49:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pded](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pded](https://discourse.psychopy.org/u/pded)\
**Post date:** [March 28, 2022, 5:49pm UTC](https://discourse.psychopy.org/t/mouse-click-inaccurate-position/28261/1 "2022-03-28T17:49:23Z")

</div>

**OS** (e.g. Win10): Monterey  
**PsychoPy version** (e.g. 1.84.x): 2022.1.2  
**Standard Standalone? (y/n)** Y

I’m new to PsychoPy - i’m trying the simplest experiment: a mouse click over an image should play audio and then clicking another image should terminate the trial. The first image is at the (0,0) and i’m using a star from the polygon options, and the second one is at (-0.4, 0). The position of both images is correct when displayed; however, clicking over the star does not play the audio. The audio plays when the upper right corner is clicked. So the mouse event is not getting the same position as the monitor sets. The (0,0) for the mouse is moved to the upper right corner.

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [March 29, 2022, 10:03am UTC](https://discourse.psychopy.org/t/mouse-click-inaccurate-position/28261/2 "2022-03-29T10:03:45Z")

</div>

Are your images and mouse components both using the same units?

Is there anything else on screen (e.g. an editable text box) that might be getting in the way of a mouse response?

Have you tried a different computer?

Feel free to upload your psyexp file if you’d like me to see if I can replicate the issue.

---

<div class="post-metadata">

**Author:** ![pded](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pded](https://discourse.psychopy.org/u/pded)\
**Post date:** [March 29, 2022, 2:12pm UTC](https://discourse.psychopy.org/t/mouse-click-inaccurate-position/28261/3 "2022-03-29T14:12:37Z")

</div>

Hello,

Are your images and mouse components both using the same units? **I believe they are** (I followed a tutorial I found online to start with PsychoPy).

Is there anything else on screen (e.g. an editable text box) that might be getting in the way of a mouse response? **No** , only 3 images. One to play the sound when clicked, and the other 2 to choose from after the sound plays, and moves to another set of images. All images appear in the set position.

Have you tried a different computer? \*_No, unfortunately I don’t have access to another system different than my Mac at this moment_

Thanks! I’m attaching my psyexe file here!  
[animal\_words.psyexp](https://discourse.psychopy.org/uploads/short-url/aSqOhdpInQOA3z6xpxYYTkjhnYg.psyexp) (26.2 KB)  
\*

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [March 29, 2022, 2:23pm UTC](https://discourse.psychopy.org/t/mouse-click-inaccurate-position/28261/4 "2022-03-29T14:23:18Z")

</div>

On my Windows PC I can click on the middle of the star. I removed the image and sound components since I didn’t have the files.

However, I think it is a known Mac bug with 2022.1.1 which hasn’t yet been fixed.

> [@Mouse component not working properly in 2022](https://discourse.psychopy.org/t/mouse-component-not-working-properly-in-2022/27875/5):
>
> I see that you were running v. 2021.2.2. If I create a simple example using exactly the same parameters you show in the screenshot but in v. 2022.1.1, the mouse is not functioning properly. After some additional troubleshooting with the logs, I’ve discovered that the issue is that in v.2022 the mouse position is not being recorded correctly. My image is being presented in the center, but if I click there nothing happens. So I started clicking all over and when I clicked in the top right corner o…

---

<div class="post-metadata">

**Author:** ![pded](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pded](https://discourse.psychopy.org/u/pded)\
**Post date:** [March 29, 2022, 3:13pm UTC](https://discourse.psychopy.org/t/mouse-click-inaccurate-position/28261/5 "2022-03-29T15:13:15Z")

</div>

Thanks.

Yes, I read the other user’s problem and notice that it is the same underlying problem. It is very unfortunate that this bug is still unresolved because it affects multiple “simple” components.
