# Mouse click save correct response

**URL:** <https://discourse.psychopy.org/t/mouse-click-save-correct-response/23808>\
**Category:** Builder\
**Created:** [June 30, 2021, 2:19pm UTC](https://discourse.psychopy.org/t/mouse-click-save-correct-response/23808 "2021-06-30T14:19:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stella\_en](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/stella_en/32/14165_2.png) [@stella\_en](https://discourse.psychopy.org/u/stella_en)\
**Post date:** [June 30, 2021, 2:19pm UTC](https://discourse.psychopy.org/t/mouse-click-save-correct-response/23808/1 "2021-06-30T14:19:29Z")

</div>

Hi all, so I have an experiment about emotion recognition, and I created 6 boxes with 6 different emotions, participants are required to click on the correct boxes to select the correct emotion. May I know how can I store correct responses on my data files? Thank you in advance!

[Emotion-recognition task (internship).psyexp](https://discourse.psychopy.org/uploads/short-url/xjMXDDC7Y6C4PAtnUFZhTQoOtI5.psyexp) (38.0 KB)

[Chinese\_Phone.xlsx](https://discourse.psychopy.org/uploads/short-url/yW3ReglNgTJdeRv4VuQJAQvisIS.xlsx) (9.7 KB)

 ![Screenshot (37)](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/2/b/2b88839e44eaf6a61dfab5027a4582eddb60fd77.png)  
 ![Screenshot (41)](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/e/1/e18dd964b0f50668b317980d550d6411230d57ab.png)

---

<div class="post-metadata">

**Author:** ![TParsons](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/tparsons/32/8301_2.png) [@TParsons](https://discourse.psychopy.org/u/TParsons)\
**Post date:** [June 30, 2021, 3:37pm UTC](https://discourse.psychopy.org/t/mouse-click-save-correct-response/23808/2 "2021-06-30T15:37:09Z")

</div>

In the Data tab of the :mouse: Mouse component there’s an option to save what objects were clicked on, but I think you could achieve what you’re trying to do more easily by using a :slider: Slider component - if you set granularity to 1, set the labels to be the emotions you’ve got here and set the style to be “radio”, it would do much the same as you’re doing here but with just 1 component instead of 13

---

<div class="post-metadata">

**Author:** ![stella\_en](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/stella_en/32/14165_2.png) [@stella\_en](https://discourse.psychopy.org/u/stella_en)\
**Post date:** [June 30, 2021, 6:53pm UTC](https://discourse.psychopy.org/t/mouse-click-save-correct-response/23808/3 "2021-06-30T18:53:08Z")

</div>

Thank you for your kind response!

It solved my issue! Thank you very much.
